﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
using System.Windows.Forms;

namespace DMEditor
{

    public partial class DM10Kit
    {
                public void setDefaults(int currentSoundset)
        {
            name = "Default";

            if (currentSoundset == 0)
            {
                // Instrument settings

                #region Layer A
                #region Kick1
                instruments[0].instLayers[0].category = 0;
                instruments[0].instLayers[0].sound = 9;

                instruments[0].instLayers[0].level = 90;
                instruments[0].instLayers[0].pan = 50;
                instruments[0].instLayers[0].decay = 40;

                instruments[0].instLayers[0].reverb = 44;
                instruments[0].instLayers[0].effects = 0;
                instruments[0].instLayers[0].eq = 1;

                instruments[0].instLayers[0].semitone = -3;
                instruments[0].instLayers[0].finetune = 0;
                instruments[0].instLayers[0].filter = 99;
                instruments[0].instLayers[0].filtertype = 0;

                instruments[0].instLayers[0].velDecay = 0;
                instruments[0].instLayers[0].velFilter = 0;
                instruments[0].instLayers[0].velLevel = 90;
                instruments[0].instLayers[0].velPitch = 03;

                instruments[0].instLayers[0].output = 0;
                instruments[0].instLayers[0].priority = 1;
                instruments[0].instLayers[0].muteGroup = 0;
                instruments[0].instLayers[0].monoPlayback = 0;

                instruments[0].midi.channel = 10;
                instruments[0].midi.note = 36;
                instruments[0].midi.gateTime = 0;
                instruments[0].midi.sendNoteOff = 1;
                instruments[0].midi.chordMode = 0;
                #endregion

                #region Kick2
                instruments[1].instLayers[0].category = 0;
                instruments[1].instLayers[0].sound = 9;

                instruments[1].instLayers[0].level = 90;
                instruments[1].instLayers[0].pan = 50;
                instruments[1].instLayers[0].decay = 40;

                instruments[1].instLayers[0].reverb = 44;
                instruments[1].instLayers[0].effects = 0;
                instruments[1].instLayers[0].eq = 1;

                instruments[1].instLayers[0].semitone = -3;
                instruments[1].instLayers[0].finetune = 0;
                instruments[1].instLayers[0].filter = 99;
                instruments[1].instLayers[0].filtertype = 0;

                instruments[1].instLayers[0].velDecay = 0;
                instruments[1].instLayers[0].velFilter = 0;
                instruments[1].instLayers[0].velLevel = 90;
                instruments[1].instLayers[0].velPitch = 03;

                instruments[1].instLayers[0].output = 0;
                instruments[1].instLayers[0].priority = 1;
                instruments[1].instLayers[0].muteGroup = 0;
                instruments[1].instLayers[0].monoPlayback = 0;

                instruments[1].midi.channel = 10;
                instruments[1].midi.note = 35;
                instruments[1].midi.gateTime = 0;
                instruments[1].midi.sendNoteOff = 1;
                instruments[1].midi.chordMode = 0;
                #endregion

                #region SnareHead
                instruments[2].instLayers[0].category = 1;
                instruments[2].instLayers[0].sound = 35;

                instruments[2].instLayers[0].level = 94;
                instruments[2].instLayers[0].pan = 40;
                instruments[2].instLayers[0].decay = 99;

                instruments[2].instLayers[0].reverb = 50;
                instruments[2].instLayers[0].effects = 0;
                instruments[2].instLayers[0].eq = 1;

                instruments[2].instLayers[0].semitone = 1;
                instruments[2].instLayers[0].finetune = 0;
                instruments[2].instLayers[0].filter = 99;
                instruments[2].instLayers[0].filtertype = 0;

                instruments[2].instLayers[0].velDecay = 0;
                instruments[2].instLayers[0].velFilter = 0;
                instruments[2].instLayers[0].velLevel = 90;
                instruments[2].instLayers[0].velPitch = 10;

                instruments[2].instLayers[0].output = 0;
                instruments[2].instLayers[0].priority = 1;
                instruments[2].instLayers[0].muteGroup = 0;
                instruments[2].instLayers[0].monoPlayback = 0;

                instruments[2].midi.channel = 10;
                instruments[2].midi.note = 38;
                instruments[2].midi.gateTime = 0;
                instruments[2].midi.sendNoteOff = 1;
                instruments[2].midi.chordMode = 0;
                #endregion

                #region SnareRim
                instruments[3].instLayers[0].category = 1;
                instruments[3].instLayers[0].sound = 36;

                instruments[3].instLayers[0].level = 95;
                instruments[3].instLayers[0].pan = 40;
                instruments[3].instLayers[0].decay = 99;

                instruments[3].instLayers[0].reverb = 50;
                instruments[3].instLayers[0].effects = 0;
                instruments[3].instLayers[0].eq = 1;

                instruments[3].instLayers[0].semitone = 2;
                instruments[3].instLayers[0].finetune = -50;
                instruments[3].instLayers[0].filter = 99;
                instruments[3].instLayers[0].filtertype = 0;

                instruments[3].instLayers[0].velDecay = 0;
                instruments[3].instLayers[0].velFilter = 0;
                instruments[3].instLayers[0].velLevel = 99;
                instruments[3].instLayers[0].velPitch = 00;

                instruments[3].instLayers[0].output = 0;
                instruments[3].instLayers[0].priority = 1;
                instruments[3].instLayers[0].muteGroup = 0;
                instruments[3].instLayers[0].monoPlayback = 0;

                instruments[3].midi.channel = 10;
                instruments[3].midi.note = 40;
                instruments[3].midi.gateTime = 0;
                instruments[3].midi.sendNoteOff = 1;
                instruments[3].midi.chordMode = 0;
                #endregion

                #region Tom1Head
                instruments[4].instLayers[0].category = 2;
                instruments[4].instLayers[0].sound = 49;

                instruments[4].instLayers[0].level = 95;
                instruments[4].instLayers[0].pan = 40;
                instruments[4].instLayers[0].decay = 99;

                instruments[4].instLayers[0].reverb = 60;
                instruments[4].instLayers[0].effects = 0;
                instruments[4].instLayers[0].eq = 1;

                instruments[4].instLayers[0].semitone = 0;
                instruments[4].instLayers[0].finetune = 0;
                instruments[4].instLayers[0].filter = 99;
                instruments[4].instLayers[0].filtertype = 0;

                instruments[4].instLayers[0].velDecay = 0;
                instruments[4].instLayers[0].velFilter = 0;
                instruments[4].instLayers[0].velLevel = 95;
                instruments[4].instLayers[0].velPitch = 00;

                instruments[4].instLayers[0].output = 0;
                instruments[4].instLayers[0].priority = 1;
                instruments[4].instLayers[0].muteGroup = 0;
                instruments[4].instLayers[0].monoPlayback = 0;

                instruments[4].midi.channel = 10;
                instruments[4].midi.note = 47;
                instruments[4].midi.gateTime = 0;
                instruments[4].midi.sendNoteOff = 1;
                instruments[4].midi.chordMode = 0;
                #endregion

                #region Tom1Rim
                instruments[5].instLayers[0].category = 13;
                instruments[5].instLayers[0].sound = 62;

                instruments[5].instLayers[0].level = 65;
                instruments[5].instLayers[0].pan = 45;
                instruments[5].instLayers[0].decay = 39;

                instruments[5].instLayers[0].reverb = 60;
                instruments[5].instLayers[0].effects = 0;
                instruments[5].instLayers[0].eq = 1;

                instruments[5].instLayers[0].semitone = 0;
                instruments[5].instLayers[0].finetune = 0;
                instruments[5].instLayers[0].filter = 99;
                instruments[5].instLayers[0].filtertype = 0;

                instruments[5].instLayers[0].velDecay = 0;
                instruments[5].instLayers[0].velFilter = 0;
                instruments[5].instLayers[0].velLevel = 95;
                instruments[5].instLayers[0].velPitch = 02;

                instruments[5].instLayers[0].output = 0;
                instruments[5].instLayers[0].priority = 1;
                instruments[5].instLayers[0].muteGroup = 0;
                instruments[5].instLayers[0].monoPlayback = 0;

                instruments[5].midi.channel = 10;
                instruments[5].midi.note = 50;
                instruments[5].midi.gateTime = 0;
                instruments[5].midi.sendNoteOff = 1;
                instruments[5].midi.chordMode = 0;
                #endregion

                #region Tom2Head
                instruments[6].instLayers[0].category = 2;
                instruments[6].instLayers[0].sound = 50;

                instruments[6].instLayers[0].level = 95;
                instruments[6].instLayers[0].pan = 60;
                instruments[6].instLayers[0].decay = 99;

                instruments[6].instLayers[0].reverb = 50;
                instruments[6].instLayers[0].effects = 0;
                instruments[6].instLayers[0].eq = 1;

                instruments[6].instLayers[0].semitone = 0;
                instruments[6].instLayers[0].finetune = 0;
                instruments[6].instLayers[0].filter = 99;
                instruments[6].instLayers[0].filtertype = 0;

                instruments[6].instLayers[0].velDecay = 0;
                instruments[6].instLayers[0].velFilter = 0;
                instruments[6].instLayers[0].velLevel = 95;
                instruments[6].instLayers[0].velPitch = 10;

                instruments[6].instLayers[0].output = 0;
                instruments[6].instLayers[0].priority = 1;
                instruments[6].instLayers[0].muteGroup = 0;
                instruments[6].instLayers[0].monoPlayback = 0;

                instruments[6].midi.channel = 10;
                instruments[6].midi.note = 45;
                instruments[6].midi.gateTime = 0;
                instruments[6].midi.sendNoteOff = 1;
                instruments[6].midi.chordMode = 0;
                #endregion

                #region Tom2Rim
                instruments[7].instLayers[0].category = 13;
                instruments[7].instLayers[0].sound = 29;

                instruments[7].instLayers[0].level = 55;
                instruments[7].instLayers[0].pan = 58;
                instruments[7].instLayers[0].decay = 80;

                instruments[7].instLayers[0].reverb = 35;
                instruments[7].instLayers[0].effects = 0;
                instruments[7].instLayers[0].eq = 1;

                instruments[7].instLayers[0].semitone = 0;
                instruments[7].instLayers[0].finetune = 0;
                instruments[7].instLayers[0].filter = 99;
                instruments[7].instLayers[0].filtertype = 0;

                instruments[7].instLayers[0].velDecay = 0;
                instruments[7].instLayers[0].velFilter = 0;
                instruments[7].instLayers[0].velLevel = 95;
                instruments[7].instLayers[0].velPitch = 02;

                instruments[7].instLayers[0].output = 0;
                instruments[7].instLayers[0].priority = 1;
                instruments[7].instLayers[0].muteGroup = 0;
                instruments[7].instLayers[0].monoPlayback = 0;

                instruments[7].midi.channel = 10;
                instruments[7].midi.note = 48;
                instruments[7].midi.gateTime = 0;
                instruments[7].midi.sendNoteOff = 1;
                instruments[7].midi.chordMode = 0;
                #endregion

                #region Tom3Head
                instruments[8].instLayers[0].category = 2;
                instruments[8].instLayers[0].sound = 46;

                instruments[8].instLayers[0].level = 93;
                instruments[8].instLayers[0].pan = 70;
                instruments[8].instLayers[0].decay = 99;

                instruments[8].instLayers[0].reverb = 50;
                instruments[8].instLayers[0].effects = 0;
                instruments[8].instLayers[0].eq = 1;

                instruments[8].instLayers[0].semitone = 0;
                instruments[8].instLayers[0].finetune = 0;
                instruments[8].instLayers[0].filter = 99;
                instruments[8].instLayers[0].filtertype = 0;

                instruments[8].instLayers[0].velDecay = 0;
                instruments[8].instLayers[0].velFilter = 0;
                instruments[8].instLayers[0].velLevel = 95;
                instruments[8].instLayers[0].velPitch = 00;

                instruments[8].instLayers[0].output = 0;
                instruments[8].instLayers[0].priority = 1;
                instruments[8].instLayers[0].muteGroup = 0;
                instruments[8].instLayers[0].monoPlayback = 0;

                instruments[8].midi.channel = 10;
                instruments[8].midi.note = 43;
                instruments[8].midi.gateTime = 0;
                instruments[8].midi.sendNoteOff = 1;
                instruments[8].midi.chordMode = 0;
                #endregion

                #region Tom3Rim
                instruments[9].instLayers[0].category = 6;
                instruments[9].instLayers[0].sound = 11;

                instruments[9].instLayers[0].level = 80;
                instruments[9].instLayers[0].pan = 42;
                instruments[9].instLayers[0].decay = 30;

                instruments[9].instLayers[0].reverb = 54;
                instruments[9].instLayers[0].effects = 0;
                instruments[9].instLayers[0].eq = 1;

                instruments[9].instLayers[0].semitone = 0;
                instruments[9].instLayers[0].finetune = 0;
                instruments[9].instLayers[0].filter = 30;
                instruments[9].instLayers[0].filtertype = 0;

                instruments[9].instLayers[0].velDecay = 0;
                instruments[9].instLayers[0].velFilter = -70;
                instruments[9].instLayers[0].velLevel = 90;
                instruments[9].instLayers[0].velPitch = 01;

                instruments[9].instLayers[0].output = 0;
                instruments[9].instLayers[0].priority = 1;
                instruments[9].instLayers[0].muteGroup = 0;
                instruments[9].instLayers[0].monoPlayback = 0;

                instruments[9].midi.channel = 10;
                instruments[9].midi.note = 41;
                instruments[9].midi.gateTime = 0;
                instruments[9].midi.sendNoteOff = 1;
                instruments[9].midi.chordMode = 0;
                #endregion

                #region HiHat
                instruments[10].instLayers[0].category = 3;
                instruments[10].instLayers[0].sound = 23;

                instruments[10].instLayers[0].level = 72;
                instruments[10].instLayers[0].pan = 40;
                instruments[10].instLayers[0].decay = 99;

                instruments[10].instLayers[0].reverb = 50;
                instruments[10].instLayers[0].effects = 0;
                instruments[10].instLayers[0].eq = 0;

                instruments[10].instLayers[0].semitone = 1;
                instruments[10].instLayers[0].finetune = 0;
                instruments[10].instLayers[0].filter = 99;
                instruments[10].instLayers[0].filtertype = 0;

                instruments[10].instLayers[0].velDecay = 0;
                instruments[10].instLayers[0].velFilter = 00;
                instruments[10].instLayers[0].velLevel = 50;
                instruments[10].instLayers[0].velPitch = 00;

                instruments[10].instLayers[0].output = 0;
                instruments[10].instLayers[0].priority = 1;
                instruments[10].instLayers[0].muteGroup = 1;
                instruments[10].instLayers[0].monoPlayback = 0;

                instruments[10].midi.channel = 10;
                instruments[10].midi.note = 46;
                instruments[10].midi.gateTime = 0;
                instruments[10].midi.sendNoteOff = 1;
                instruments[10].midi.chordMode = 0;
                #endregion

                #region Crash
                instruments[11].instLayers[0].category = 4;
                instruments[11].instLayers[0].sound = 33;

                instruments[11].instLayers[0].level = 90;
                instruments[11].instLayers[0].pan = 30;
                instruments[11].instLayers[0].decay = 99;

                instruments[11].instLayers[0].reverb = 40;
                instruments[11].instLayers[0].effects = 0;
                instruments[11].instLayers[0].eq = 0;

                instruments[11].instLayers[0].semitone = 3;
                instruments[11].instLayers[0].finetune = 0;
                instruments[11].instLayers[0].filter = 99;
                instruments[11].instLayers[0].filtertype = 0;

                instruments[11].instLayers[0].velDecay = 0;
                instruments[11].instLayers[0].velFilter = 00;
                instruments[11].instLayers[0].velLevel = 60;
                instruments[11].instLayers[0].velPitch = 10;

                instruments[11].instLayers[0].output = 0;
                instruments[11].instLayers[0].priority = 1;
                instruments[11].instLayers[0].muteGroup = 0;
                instruments[11].instLayers[0].monoPlayback = 0;

                instruments[11].midi.channel = 10;
                instruments[11].midi.note = 49;
                instruments[11].midi.gateTime = 0;
                instruments[11].midi.sendNoteOff = 1;
                instruments[11].midi.chordMode = 0;
                #endregion

                #region Ride
                instruments[12].instLayers[0].category = 5;
                instruments[12].instLayers[0].sound = 11;

                instruments[12].instLayers[0].level = 81;
                instruments[12].instLayers[0].pan = 70;
                instruments[12].instLayers[0].decay = 80;

                instruments[12].instLayers[0].reverb = 50;
                instruments[12].instLayers[0].effects = 0;
                instruments[12].instLayers[0].eq = 0;

                instruments[12].instLayers[0].semitone = 2;
                instruments[12].instLayers[0].finetune = 0;
                instruments[12].instLayers[0].filter = 80;
                instruments[12].instLayers[0].filtertype = 1;

                instruments[12].instLayers[0].velDecay = 0;
                instruments[12].instLayers[0].velFilter = -30;
                instruments[12].instLayers[0].velLevel = 60;
                instruments[12].instLayers[0].velPitch = 01;

                instruments[12].instLayers[0].output = 0;
                instruments[12].instLayers[0].priority = 1;
                instruments[12].instLayers[0].muteGroup = 0;
                instruments[12].instLayers[0].monoPlayback = 0;

                instruments[12].midi.channel = 10;
                instruments[12].midi.note = 51;
                instruments[12].midi.gateTime = 0;
                instruments[12].midi.sendNoteOff = 1;
                instruments[12].midi.chordMode = 0;
                #endregion

                #region Perc1Head
                instruments[13].instLayers[0].category = 5;
                instruments[13].instLayers[0].sound = 25;

                instruments[13].instLayers[0].level = 55;
                instruments[13].instLayers[0].pan = 80;
                instruments[13].instLayers[0].decay = 99;

                instruments[13].instLayers[0].reverb = 50;
                instruments[13].instLayers[0].effects = 0;
                instruments[13].instLayers[0].eq = 0;

                instruments[13].instLayers[0].semitone = 0;
                instruments[13].instLayers[0].finetune = 0;
                instruments[13].instLayers[0].filter = 99;
                instruments[13].instLayers[0].filtertype = 0;
                instruments[13].instLayers[0].velDecay = 0;
                instruments[13].instLayers[0].velFilter = 00;
                instruments[13].instLayers[0].velLevel = 95;
                instruments[13].instLayers[0].velPitch = 00;

                instruments[13].instLayers[0].output = 0;
                instruments[13].instLayers[0].priority = 1;
                instruments[13].instLayers[0].muteGroup = 0;
                instruments[13].instLayers[0].monoPlayback = 0;

                instruments[13].midi.channel = 10;
                instruments[13].midi.note = 59;
                instruments[13].midi.gateTime = 0;
                instruments[13].midi.sendNoteOff = 1;
                instruments[13].midi.chordMode = 0;
                #endregion

                #region Perc1Rim
                instruments[14].instLayers[0].category = 13;
                instruments[14].instLayers[0].sound = 12;

                instruments[14].instLayers[0].level = 80;
                instruments[14].instLayers[0].pan = 50;
                instruments[14].instLayers[0].decay = 99;

                instruments[14].instLayers[0].reverb = 30;
                instruments[14].instLayers[0].effects = 0;
                instruments[14].instLayers[0].eq = 0;

                instruments[14].instLayers[0].semitone = 0;
                instruments[14].instLayers[0].finetune = 0;
                instruments[14].instLayers[0].filter = 99;
                instruments[14].instLayers[0].filtertype = 0;

                instruments[14].instLayers[0].velDecay = 0;
                instruments[14].instLayers[0].velFilter = 00;
                instruments[14].instLayers[0].velLevel = 95;
                instruments[14].instLayers[0].velPitch = 00;

                instruments[14].instLayers[0].output = 0;
                instruments[14].instLayers[0].priority = 1;
                instruments[14].instLayers[0].muteGroup = 0;
                instruments[14].instLayers[0].monoPlayback = 0;

                instruments[14].midi.channel = 10;
                instruments[14].midi.note = 33;
                instruments[14].midi.gateTime = 0;
                instruments[14].midi.sendNoteOff = 1;
                instruments[14].midi.chordMode = 0;
                #endregion

                #region Perc2Head
                instruments[15].instLayers[0].category = 4;
                instruments[15].instLayers[0].sound = 1;

                instruments[15].instLayers[0].level = 70;
                instruments[15].instLayers[0].pan = 75;
                instruments[15].instLayers[0].decay = 90;

                instruments[15].instLayers[0].reverb = 50;
                instruments[15].instLayers[0].effects = 0;
                instruments[15].instLayers[0].eq = 0;

                instruments[15].instLayers[0].semitone = 0;
                instruments[15].instLayers[0].finetune = 0;
                instruments[15].instLayers[0].filter = 70;
                instruments[15].instLayers[0].filtertype = 1;

                instruments[15].instLayers[0].velDecay = 60;
                instruments[15].instLayers[0].velFilter = -40;
                instruments[15].instLayers[0].velLevel = 60;
                instruments[15].instLayers[0].velPitch = 01;

                instruments[15].instLayers[0].output = 0;
                instruments[15].instLayers[0].priority = 1;
                instruments[15].instLayers[0].muteGroup = 0;
                instruments[15].instLayers[0].monoPlayback = 0;

                instruments[15].midi.channel = 10;
                instruments[15].midi.note = 60;
                instruments[15].midi.gateTime = 0;
                instruments[15].midi.sendNoteOff = 1;
                instruments[15].midi.chordMode = 0;
                #endregion

                #region Perc2Rim
                instruments[16].instLayers[0].category = 13;
                instruments[16].instLayers[0].sound = 14;

                instruments[16].instLayers[0].level = 80;
                instruments[16].instLayers[0].pan = 50;
                instruments[16].instLayers[0].decay = 99;

                instruments[16].instLayers[0].reverb = 30;
                instruments[16].instLayers[0].effects = 0;
                instruments[16].instLayers[0].eq = 0;

                instruments[16].instLayers[0].semitone = 0;
                instruments[16].instLayers[0].finetune = 0;
                instruments[16].instLayers[0].filter = 99;
                instruments[16].instLayers[0].filtertype = 0;

                instruments[16].instLayers[0].velDecay = 00;
                instruments[16].instLayers[0].velFilter = 00;
                instruments[16].instLayers[0].velLevel = 95;
                instruments[16].instLayers[0].velPitch = 00;

                instruments[16].instLayers[0].output = 0;
                instruments[16].instLayers[0].priority = 1;
                instruments[16].instLayers[0].muteGroup = 0;
                instruments[16].instLayers[0].monoPlayback = 0;

                instruments[16].midi.channel = 10;
                instruments[16].midi.note = 61;
                instruments[16].midi.gateTime = 0;
                instruments[16].midi.sendNoteOff = 1;
                instruments[16].midi.chordMode = 0;
                #endregion

                #region Perc3Head
                instruments[17].instLayers[0].category = 2;
                instruments[17].instLayers[0].sound = 46;

                instruments[17].instLayers[0].level = 96;
                instruments[17].instLayers[0].pan = 80;
                instruments[17].instLayers[0].decay = 85;

                instruments[17].instLayers[0].reverb = 50;
                instruments[17].instLayers[0].effects = 0;
                instruments[17].instLayers[0].eq = 0;

                instruments[17].instLayers[0].semitone = -4;
                instruments[17].instLayers[0].finetune = 0;
                instruments[17].instLayers[0].filter = 20;
                instruments[17].instLayers[0].filtertype = 1;

                instruments[17].instLayers[0].velDecay = 00;
                instruments[17].instLayers[0].velFilter = -80;
                instruments[17].instLayers[0].velLevel = 95;
                instruments[17].instLayers[0].velPitch = 01;

                instruments[17].instLayers[0].output = 0;
                instruments[17].instLayers[0].priority = 1;
                instruments[17].instLayers[0].muteGroup = 0;
                instruments[17].instLayers[0].monoPlayback = 0;

                instruments[17].midi.channel = 10;
                instruments[17].midi.note = 63;
                instruments[17].midi.gateTime = 0;
                instruments[17].midi.sendNoteOff = 1;
                instruments[17].midi.chordMode = 0;
                #endregion

                #region Perc3Rim
                instruments[18].instLayers[0].category = 6;
                instruments[18].instLayers[0].sound = 6;

                instruments[18].instLayers[0].level = 70;
                instruments[18].instLayers[0].pan = 42;
                instruments[18].instLayers[0].decay = 85;

                instruments[18].instLayers[0].reverb = 50;
                instruments[18].instLayers[0].effects = 0;
                instruments[18].instLayers[0].eq = 0;

                instruments[18].instLayers[0].semitone = 4;
                instruments[18].instLayers[0].finetune = 0;
                instruments[18].instLayers[0].filter = 50;
                instruments[18].instLayers[0].filtertype = 1;

                instruments[18].instLayers[0].velDecay = 00;
                instruments[18].instLayers[0].velFilter = -70;
                instruments[18].instLayers[0].velLevel = 60;
                instruments[18].instLayers[0].velPitch = 00;

                instruments[18].instLayers[0].output = 0;
                instruments[18].instLayers[0].priority = 1;
                instruments[18].instLayers[0].muteGroup = 0;
                instruments[18].instLayers[0].monoPlayback = 0;

                instruments[18].midi.channel = 10;
                instruments[18].midi.note = 64;
                instruments[18].midi.gateTime = 0;
                instruments[18].midi.sendNoteOff = 1;
                instruments[18].midi.chordMode = 0;
                #endregion

                #region Perc4Head
                instruments[19].instLayers[0].category = 13;
                instruments[19].instLayers[0].sound = 22;

                instruments[19].instLayers[0].level = 80;
                instruments[19].instLayers[0].pan = 50;
                instruments[19].instLayers[0].decay = 99;

                instruments[19].instLayers[0].reverb = 30;
                instruments[19].instLayers[0].effects = 0;
                instruments[19].instLayers[0].eq = 0;

                instruments[19].instLayers[0].semitone = 0;
                instruments[19].instLayers[0].finetune = 0;
                instruments[19].instLayers[0].filter = 99;
                instruments[19].instLayers[0].filtertype = 0;

                instruments[19].instLayers[0].velDecay = 00;
                instruments[19].instLayers[0].velFilter = 00;
                instruments[19].instLayers[0].velLevel = 95;
                instruments[19].instLayers[0].velPitch = 00;

                instruments[19].instLayers[0].output = 0;
                instruments[19].instLayers[0].priority = 1;
                instruments[19].instLayers[0].muteGroup = 0;
                instruments[19].instLayers[0].monoPlayback = 0;

                instruments[19].midi.channel = 10;
                instruments[19].midi.note = 28;
                instruments[19].midi.gateTime = 0;
                instruments[19].midi.sendNoteOff = 1;
                instruments[19].midi.chordMode = 0;
                #endregion

                #region Perc4Rim
                instruments[20].instLayers[0].category = 13;
                instruments[20].instLayers[0].sound = 25;

                instruments[20].instLayers[0].level = 80;
                instruments[20].instLayers[0].pan = 50;
                instruments[20].instLayers[0].decay = 99;

                instruments[20].instLayers[0].reverb = 30;
                instruments[20].instLayers[0].effects = 0;
                instruments[20].instLayers[0].eq = 0;

                instruments[20].instLayers[0].semitone = 0;
                instruments[20].instLayers[0].finetune = 0;
                instruments[20].instLayers[0].filter = 99;
                instruments[20].instLayers[0].filtertype = 0;

                instruments[20].instLayers[0].velDecay = 00;
                instruments[20].instLayers[0].velFilter = 00;
                instruments[20].instLayers[0].velLevel = 95;
                instruments[20].instLayers[0].velPitch = 00;

                instruments[20].instLayers[0].output = 0;
                instruments[20].instLayers[0].priority = 1;
                instruments[20].instLayers[0].muteGroup = 0;
                instruments[20].instLayers[0].monoPlayback = 0;

                instruments[20].midi.channel = 10;
                instruments[20].midi.note = 29;
                instruments[20].midi.gateTime = 0;
                instruments[20].midi.sendNoteOff = 1;
                instruments[20].midi.chordMode = 0;
                #endregion
                #endregion

                #region Layer B
                #region Kick1
                instruments[0].instLayers[1].category = 21;
                instruments[0].instLayers[1].sound = 0;

                instruments[0].instLayers[1].level = 80;
                instruments[0].instLayers[1].pan = 50;
                instruments[0].instLayers[1].decay = 99;

                instruments[0].instLayers[1].reverb = 44;
                instruments[0].instLayers[1].effects = 0;
                instruments[0].instLayers[1].eq = 1;

                instruments[0].instLayers[1].semitone = -12;
                instruments[0].instLayers[1].finetune = 0;
                instruments[0].instLayers[1].filter = 99;
                instruments[0].instLayers[1].filtertype = 0;

                instruments[0].instLayers[1].velDecay = 0;
                instruments[0].instLayers[1].velFilter = 0;
                instruments[0].instLayers[1].velLevel = 90;
                instruments[0].instLayers[1].velPitch = 00;

                instruments[0].instLayers[1].output = 0;
                instruments[0].instLayers[1].priority = 1;
                instruments[0].instLayers[1].muteGroup = 0;
                instruments[0].instLayers[1].monoPlayback = 0;

                #endregion

                #region Kick2
                instruments[1].instLayers[1].category = 21;
                instruments[1].instLayers[1].sound = 0;

                instruments[1].instLayers[1].level = 80;
                instruments[1].instLayers[1].pan = 50;
                instruments[1].instLayers[1].decay = 99;

                instruments[1].instLayers[1].reverb = 44;
                instruments[1].instLayers[1].effects = 0;
                instruments[1].instLayers[1].eq = 1;

                instruments[1].instLayers[1].semitone = -12;
                instruments[1].instLayers[1].finetune = 0;
                instruments[1].instLayers[1].filter = 99;
                instruments[1].instLayers[1].filtertype = 0;

                instruments[1].instLayers[1].velDecay = 0;
                instruments[1].instLayers[1].velFilter = 0;
                instruments[1].instLayers[1].velLevel = 90;
                instruments[1].instLayers[1].velPitch = 00;

                instruments[1].instLayers[1].output = 0;
                instruments[1].instLayers[1].priority = 1;
                instruments[1].instLayers[1].muteGroup = 0;
                instruments[1].instLayers[1].monoPlayback = 0;
                #endregion

                #region SnareHead
                instruments[2].instLayers[1].category = 21;
                instruments[2].instLayers[1].sound = 0;

                instruments[2].instLayers[1].level = 73;
                instruments[2].instLayers[1].pan = 40;
                instruments[2].instLayers[1].decay = 99;

                instruments[2].instLayers[1].reverb = 50;
                instruments[2].instLayers[1].effects = 0;
                instruments[2].instLayers[1].eq = 1;

                instruments[2].instLayers[1].semitone = 0;
                instruments[2].instLayers[1].finetune = 0;
                instruments[2].instLayers[1].filter = 99;
                instruments[2].instLayers[1].filtertype = 0;

                instruments[2].instLayers[1].velDecay = 0;
                instruments[2].instLayers[1].velFilter = 0;
                instruments[2].instLayers[1].velLevel = 90;
                instruments[2].instLayers[1].velPitch = 00;

                instruments[2].instLayers[1].output = 0;
                instruments[2].instLayers[1].priority = 1;
                instruments[2].instLayers[1].muteGroup = 0;
                instruments[2].instLayers[1].monoPlayback = 0;

                #endregion

                #region SnareRim
                instruments[3].instLayers[1].category = 21;
                instruments[3].instLayers[1].sound = 0;

                instruments[3].instLayers[1].level = 80;
                instruments[3].instLayers[1].pan = 40;
                instruments[3].instLayers[1].decay = 99;

                instruments[3].instLayers[1].reverb = 50;
                instruments[3].instLayers[1].effects = 0;
                instruments[3].instLayers[1].eq = 1;

                instruments[3].instLayers[1].semitone = 0;
                instruments[3].instLayers[1].finetune = 00;
                instruments[3].instLayers[1].filter = 99;
                instruments[3].instLayers[1].filtertype = 0;

                instruments[3].instLayers[1].velDecay = 0;
                instruments[3].instLayers[1].velFilter = 0;
                instruments[3].instLayers[1].velLevel = 99;
                instruments[3].instLayers[1].velPitch = 00;

                instruments[3].instLayers[1].output = 0;
                instruments[3].instLayers[1].priority = 1;
                instruments[3].instLayers[1].muteGroup = 0;
                instruments[3].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom1Head
                instruments[4].instLayers[1].category = 21;
                instruments[4].instLayers[1].sound = 0;

                instruments[4].instLayers[1].level = 0;
                instruments[4].instLayers[1].pan = 50;
                instruments[4].instLayers[1].decay = 99;

                instruments[4].instLayers[1].reverb = 60;
                instruments[4].instLayers[1].effects = 0;
                instruments[4].instLayers[1].eq = 1;

                instruments[4].instLayers[1].semitone = 0;
                instruments[4].instLayers[1].finetune = 0;
                instruments[4].instLayers[1].filter = 99;
                instruments[4].instLayers[1].filtertype = 0;

                instruments[4].instLayers[1].velDecay = 0;
                instruments[4].instLayers[1].velFilter = 0;
                instruments[4].instLayers[1].velLevel = 95;
                instruments[4].instLayers[1].velPitch = 00;

                instruments[4].instLayers[1].output = 0;
                instruments[4].instLayers[1].priority = 1;
                instruments[4].instLayers[1].muteGroup = 0;
                instruments[4].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom1Rim
                instruments[5].instLayers[1].category = 21;
                instruments[5].instLayers[1].sound = 0;

                instruments[5].instLayers[1].level = 00;
                instruments[5].instLayers[1].pan = 50;
                instruments[5].instLayers[1].decay = 99;

                instruments[5].instLayers[1].reverb = 60;
                instruments[5].instLayers[1].effects = 0;
                instruments[5].instLayers[1].eq = 1;

                instruments[5].instLayers[1].semitone = 0;
                instruments[5].instLayers[1].finetune = 0;
                instruments[5].instLayers[1].filter = 99;
                instruments[5].instLayers[1].filtertype = 0;

                instruments[5].instLayers[1].velDecay = 0;
                instruments[5].instLayers[1].velFilter = 0;
                instruments[5].instLayers[1].velLevel = 95;
                instruments[5].instLayers[1].velPitch = 00;

                instruments[5].instLayers[1].output = 0;
                instruments[5].instLayers[1].priority = 1;
                instruments[5].instLayers[1].muteGroup = 0;
                instruments[5].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom2Head
                instruments[6].instLayers[1].category = 21;
                instruments[6].instLayers[1].sound = 0;

                instruments[6].instLayers[1].level = 00;
                instruments[6].instLayers[1].pan = 50;
                instruments[6].instLayers[1].decay = 99;

                instruments[6].instLayers[1].reverb = 50;
                instruments[6].instLayers[1].effects = 0;
                instruments[6].instLayers[1].eq = 1;

                instruments[6].instLayers[1].semitone = 0;
                instruments[6].instLayers[1].finetune = 0;
                instruments[6].instLayers[1].filter = 99;
                instruments[6].instLayers[1].filtertype = 0;

                instruments[6].instLayers[1].velDecay = 0;
                instruments[6].instLayers[1].velFilter = 0;
                instruments[6].instLayers[1].velLevel = 95;
                instruments[6].instLayers[1].velPitch = 00;

                instruments[6].instLayers[1].output = 0;
                instruments[6].instLayers[1].priority = 1;
                instruments[6].instLayers[1].muteGroup = 0;
                instruments[6].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom2Rim
                instruments[7].instLayers[1].category = 21;
                instruments[7].instLayers[1].sound = 0;

                instruments[7].instLayers[1].level = 0;
                instruments[7].instLayers[1].pan = 50;
                instruments[7].instLayers[1].decay = 99;

                instruments[7].instLayers[1].reverb = 35;
                instruments[7].instLayers[1].effects = 0;
                instruments[7].instLayers[1].eq = 1;

                instruments[7].instLayers[1].semitone = 0;
                instruments[7].instLayers[1].finetune = 0;
                instruments[7].instLayers[1].filter = 99;
                instruments[7].instLayers[1].filtertype = 0;

                instruments[7].instLayers[1].velDecay = 0;
                instruments[7].instLayers[1].velFilter = 0;
                instruments[7].instLayers[1].velLevel = 95;
                instruments[7].instLayers[1].velPitch = 00;

                instruments[7].instLayers[1].output = 0;
                instruments[7].instLayers[1].priority = 1;
                instruments[7].instLayers[1].muteGroup = 0;
                instruments[7].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom3Head
                instruments[8].instLayers[1].category = 21;
                instruments[8].instLayers[1].sound = 0;

                instruments[8].instLayers[1].level = 00;
                instruments[8].instLayers[1].pan = 50;
                instruments[8].instLayers[1].decay = 99;

                instruments[8].instLayers[1].reverb = 50;
                instruments[8].instLayers[1].effects = 0;
                instruments[8].instLayers[1].eq = 1;

                instruments[8].instLayers[1].semitone = 0;
                instruments[8].instLayers[1].finetune = 0;
                instruments[8].instLayers[1].filter = 99;
                instruments[8].instLayers[1].filtertype = 0;

                instruments[8].instLayers[1].velDecay = 0;
                instruments[8].instLayers[1].velFilter = 0;
                instruments[8].instLayers[1].velLevel = 95;
                instruments[8].instLayers[1].velPitch = 00;

                instruments[8].instLayers[1].output = 0;
                instruments[8].instLayers[1].priority = 1;
                instruments[8].instLayers[1].muteGroup = 0;
                instruments[8].instLayers[1].monoPlayback = 0;

                #endregion

                #region Tom3Rim
                instruments[9].instLayers[1].category = 21;
                instruments[9].instLayers[1].sound = 0;

                instruments[9].instLayers[1].level = 0;
                instruments[9].instLayers[1].pan = 50;
                instruments[9].instLayers[1].decay = 99;

                instruments[9].instLayers[1].reverb = 54;
                instruments[9].instLayers[1].effects = 0;
                instruments[9].instLayers[1].eq = 1;

                instruments[9].instLayers[1].semitone = 0;
                instruments[9].instLayers[1].finetune = 0;
                instruments[9].instLayers[1].filter = 99;
                instruments[9].instLayers[1].filtertype = 0;

                instruments[9].instLayers[1].velDecay = 0;
                instruments[9].instLayers[1].velFilter = 0;
                instruments[9].instLayers[1].velLevel = 95;
                instruments[9].instLayers[1].velPitch = 0;

                instruments[9].instLayers[1].output = 0;
                instruments[9].instLayers[1].priority = 1;
                instruments[9].instLayers[1].muteGroup = 0;
                instruments[9].instLayers[1].monoPlayback = 0;

                #endregion

                #region HiHat
                instruments[10].instLayers[1].category = 21;
                instruments[10].instLayers[1].sound = 0;

                instruments[10].instLayers[1].level = 00;
                instruments[10].instLayers[1].pan = 50;
                instruments[10].instLayers[1].decay = 99;

                instruments[10].instLayers[1].reverb = 50;
                instruments[10].instLayers[1].effects = 0;
                instruments[10].instLayers[1].eq = 0;

                instruments[10].instLayers[1].semitone = 0;
                instruments[10].instLayers[1].finetune = 0;
                instruments[10].instLayers[1].filter = 99;
                instruments[10].instLayers[1].filtertype = 0;

                instruments[10].instLayers[1].velDecay = 0;
                instruments[10].instLayers[1].velFilter = 00;
                instruments[10].instLayers[1].velLevel = 50;
                instruments[10].instLayers[1].velPitch = 00;

                instruments[10].instLayers[1].output = 0;
                instruments[10].instLayers[1].priority = 1;
                instruments[10].instLayers[1].muteGroup = 1;
                instruments[10].instLayers[1].monoPlayback = 0;

                #endregion

                #region Crash
                instruments[11].instLayers[1].category = 21;
                instruments[11].instLayers[1].sound = 0;

                instruments[11].instLayers[1].level = 00;
                instruments[11].instLayers[1].pan = 50;
                instruments[11].instLayers[1].decay = 99;

                instruments[11].instLayers[1].reverb = 40;
                instruments[11].instLayers[1].effects = 0;
                instruments[11].instLayers[1].eq = 0;

                instruments[11].instLayers[1].semitone = 0;
                instruments[11].instLayers[1].finetune = 0;
                instruments[11].instLayers[1].filter = 99;
                instruments[11].instLayers[1].filtertype = 0;

                instruments[11].instLayers[1].velDecay = 0;
                instruments[11].instLayers[1].velFilter = 00;
                instruments[11].instLayers[1].velLevel = 60;
                instruments[11].instLayers[1].velPitch = 0;

                instruments[11].instLayers[1].output = 0;
                instruments[11].instLayers[1].priority = 1;
                instruments[11].instLayers[1].muteGroup = 0;
                instruments[11].instLayers[1].monoPlayback = 0;

                #endregion

                #region Ride
                instruments[12].instLayers[1].category = 21;
                instruments[12].instLayers[1].sound = 0;

                instruments[12].instLayers[1].level = 0;
                instruments[12].instLayers[1].pan = 50;
                instruments[12].instLayers[1].decay = 99;

                instruments[12].instLayers[1].reverb = 50;
                instruments[12].instLayers[1].effects = 0;
                instruments[12].instLayers[1].eq = 0;

                instruments[12].instLayers[1].semitone = 0;
                instruments[12].instLayers[1].finetune = 0;
                instruments[12].instLayers[1].filter = 99;
                instruments[12].instLayers[1].filtertype = 0;

                instruments[12].instLayers[1].velDecay = 0;
                instruments[12].instLayers[1].velFilter = 0;
                instruments[12].instLayers[1].velLevel = 60;
                instruments[12].instLayers[1].velPitch = 00;

                instruments[12].instLayers[1].output = 0;
                instruments[12].instLayers[1].priority = 1;
                instruments[12].instLayers[1].muteGroup = 0;
                instruments[12].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc1Head
                instruments[13].instLayers[1].category = 21;
                instruments[13].instLayers[1].sound = 0;

                instruments[13].instLayers[1].level = 0;
                instruments[13].instLayers[1].pan = 50;
                instruments[13].instLayers[1].decay = 99;

                instruments[13].instLayers[1].reverb = 50;
                instruments[13].instLayers[1].effects = 0;
                instruments[13].instLayers[1].eq = 0;

                instruments[13].instLayers[1].semitone = 0;
                instruments[13].instLayers[1].finetune = 0;
                instruments[13].instLayers[1].filter = 99;
                instruments[13].instLayers[1].filtertype = 0;

                instruments[13].instLayers[1].velDecay = 0;
                instruments[13].instLayers[1].velFilter = 00;
                instruments[13].instLayers[1].velLevel = 95;
                instruments[13].instLayers[1].velPitch = 00;

                instruments[13].instLayers[1].output = 0;
                instruments[13].instLayers[1].priority = 1;
                instruments[13].instLayers[1].muteGroup = 0;
                instruments[13].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc1Rim
                instruments[14].instLayers[1].category = 21;
                instruments[14].instLayers[1].sound = 0;

                instruments[14].instLayers[1].level = 0;
                instruments[14].instLayers[1].pan = 50;
                instruments[14].instLayers[1].decay = 99;

                instruments[14].instLayers[1].reverb = 30;
                instruments[14].instLayers[1].effects = 0;
                instruments[14].instLayers[1].eq = 0;

                instruments[14].instLayers[1].semitone = 0;
                instruments[14].instLayers[1].finetune = 0;
                instruments[14].instLayers[1].filter = 99;
                instruments[14].instLayers[1].filtertype = 0;

                instruments[14].instLayers[1].velDecay = 0;
                instruments[14].instLayers[1].velFilter = 00;
                instruments[14].instLayers[1].velLevel = 95;
                instruments[14].instLayers[1].velPitch = 00;

                instruments[14].instLayers[1].output = 0;
                instruments[14].instLayers[1].priority = 1;
                instruments[14].instLayers[1].muteGroup = 0;
                instruments[14].instLayers[1].monoPlayback = 0;


                #endregion

                #region Perc2Head
                instruments[15].instLayers[1].category = 21;
                instruments[15].instLayers[1].sound = 0;

                instruments[15].instLayers[1].level = 0;
                instruments[15].instLayers[1].pan = 75;
                instruments[15].instLayers[1].decay = 99;

                instruments[15].instLayers[1].reverb = 50;
                instruments[15].instLayers[1].effects = 0;
                instruments[15].instLayers[1].eq = 0;

                instruments[15].instLayers[1].semitone = 0;
                instruments[15].instLayers[1].finetune = 0;
                instruments[15].instLayers[1].filter = 99;
                instruments[15].instLayers[1].filtertype = 0;

                instruments[15].instLayers[1].velDecay = 0;
                instruments[15].instLayers[1].velFilter = 0;
                instruments[15].instLayers[1].velLevel = 95;
                instruments[15].instLayers[1].velPitch = 00;

                instruments[15].instLayers[1].output = 0;
                instruments[15].instLayers[1].priority = 1;
                instruments[15].instLayers[1].muteGroup = 0;
                instruments[15].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc2Rim
                instruments[16].instLayers[1].category = 21;
                instruments[16].instLayers[1].sound = 0;

                instruments[16].instLayers[1].level = 0;
                instruments[16].instLayers[1].pan = 50;
                instruments[16].instLayers[1].decay = 99;

                instruments[16].instLayers[1].reverb = 30;
                instruments[16].instLayers[1].effects = 0;
                instruments[16].instLayers[1].eq = 0;

                instruments[16].instLayers[1].semitone = 0;
                instruments[16].instLayers[1].finetune = 0;
                instruments[16].instLayers[1].filter = 99;
                instruments[16].instLayers[1].filtertype = 0;

                instruments[16].instLayers[1].velDecay = 00;
                instruments[16].instLayers[1].velFilter = 00;
                instruments[16].instLayers[1].velLevel = 95;
                instruments[16].instLayers[1].velPitch = 00;

                instruments[16].instLayers[1].output = 0;
                instruments[16].instLayers[1].priority = 1;
                instruments[16].instLayers[1].muteGroup = 0;
                instruments[16].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc3Head
                instruments[17].instLayers[1].category = 21;
                instruments[17].instLayers[1].sound = 0;

                instruments[17].instLayers[1].level = 0;
                instruments[17].instLayers[1].pan = 50;
                instruments[17].instLayers[1].decay = 99;

                instruments[17].instLayers[1].reverb = 50;
                instruments[17].instLayers[1].effects = 0;
                instruments[17].instLayers[1].eq = 0;

                instruments[17].instLayers[1].semitone = 0;
                instruments[17].instLayers[1].finetune = 0;
                instruments[17].instLayers[1].filter = 99;
                instruments[17].instLayers[1].filtertype = 0;

                instruments[17].instLayers[1].velDecay = 00;
                instruments[17].instLayers[1].velFilter = 0;
                instruments[17].instLayers[1].velLevel = 95;
                instruments[17].instLayers[1].velPitch = 00;

                instruments[17].instLayers[1].output = 0;
                instruments[17].instLayers[1].priority = 1;
                instruments[17].instLayers[1].muteGroup = 0;
                instruments[17].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc3Rim
                instruments[18].instLayers[1].category = 21;
                instruments[18].instLayers[1].sound = 0;

                instruments[18].instLayers[1].level = 00;
                instruments[18].instLayers[1].pan = 50;
                instruments[18].instLayers[1].decay = 99;

                instruments[18].instLayers[1].reverb = 50;
                instruments[18].instLayers[1].effects = 0;
                instruments[18].instLayers[1].eq = 0;

                instruments[18].instLayers[1].semitone = 0;
                instruments[18].instLayers[1].finetune = 0;
                instruments[18].instLayers[1].filter = 95;
                instruments[18].instLayers[1].filtertype = 0;

                instruments[18].instLayers[1].velDecay = 00;
                instruments[18].instLayers[1].velFilter = 00;
                instruments[18].instLayers[1].velLevel = 95;
                instruments[18].instLayers[1].velPitch = 00;

                instruments[18].instLayers[1].output = 0;
                instruments[18].instLayers[1].priority = 1;
                instruments[18].instLayers[1].muteGroup = 0;
                instruments[18].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc4Head
                instruments[19].instLayers[1].category = 21;
                instruments[19].instLayers[1].sound = 0;

                instruments[19].instLayers[1].level = 0;
                instruments[19].instLayers[1].pan = 50;
                instruments[19].instLayers[1].decay = 99;

                instruments[19].instLayers[1].reverb = 30;
                instruments[19].instLayers[1].effects = 0;
                instruments[19].instLayers[1].eq = 0;

                instruments[19].instLayers[1].semitone = 0;
                instruments[19].instLayers[1].finetune = 0;
                instruments[19].instLayers[1].filter = 99;
                instruments[19].instLayers[1].filtertype = 0;

                instruments[19].instLayers[1].velDecay = 00;
                instruments[19].instLayers[1].velFilter = 00;
                instruments[19].instLayers[1].velLevel = 95;
                instruments[19].instLayers[1].velPitch = 00;

                instruments[19].instLayers[1].output = 0;
                instruments[19].instLayers[1].priority = 1;
                instruments[19].instLayers[1].muteGroup = 0;
                instruments[19].instLayers[1].monoPlayback = 0;

                #endregion

                #region Perc4Rim
                instruments[20].instLayers[1].category = 21;
                instruments[20].instLayers[1].sound = 0;

                instruments[20].instLayers[1].level = 0;
                instruments[20].instLayers[1].pan = 50;
                instruments[20].instLayers[1].decay = 99;

                instruments[20].instLayers[1].reverb = 30;
                instruments[20].instLayers[1].effects = 0;
                instruments[20].instLayers[1].eq = 0;

                instruments[20].instLayers[1].semitone = 0;
                instruments[20].instLayers[1].finetune = 0;
                instruments[20].instLayers[1].filter = 99;
                instruments[20].instLayers[1].filtertype = 0;

                instruments[20].instLayers[1].velDecay = 00;
                instruments[20].instLayers[1].velFilter = 00;
                instruments[20].instLayers[1].velLevel = 95;
                instruments[20].instLayers[1].velPitch = 00;

                instruments[20].instLayers[1].output = 0;
                instruments[20].instLayers[1].priority = 1;
                instruments[20].instLayers[1].muteGroup = 0;
                instruments[20].instLayers[1].monoPlayback = 0;

                #endregion
                #endregion
            }
            else if (currentSoundset == 1)
            {
                #region Layer A
                #region Kick1
                instruments[0].instLayers[0].category = 0;
                instruments[0].instLayers[0].sound = 0;

                instruments[0].instLayers[0].level = 90;
                instruments[0].instLayers[0].pan = 50;
                instruments[0].instLayers[0].decay = 90;

                instruments[0].instLayers[0].reverb = 00;
                instruments[0].instLayers[0].effects = 0;
                instruments[0].instLayers[0].eq = 0;

                instruments[0].instLayers[0].semitone = 0;
                instruments[0].instLayers[0].finetune = 0;
                instruments[0].instLayers[0].filter = 99;
                instruments[0].instLayers[0].filtertype = 0;

                instruments[0].instLayers[0].velDecay = 0;
                instruments[0].instLayers[0].velFilter = 0;
                instruments[0].instLayers[0].velLevel = 90;
                instruments[0].instLayers[0].velPitch = 00;

                instruments[0].instLayers[0].output = 0;
                instruments[0].instLayers[0].priority = 1;
                instruments[0].instLayers[0].muteGroup = 0;
                instruments[0].instLayers[0].monoPlayback = 0;

                instruments[0].midi.channel = 10;
                instruments[0].midi.note = 36;
                instruments[0].midi.gateTime = 0;
                instruments[0].midi.sendNoteOff = 1;
                instruments[0].midi.chordMode = 0;
                #endregion

                #region Kick2
                instruments[1].instLayers[0].category = 0;
                instruments[1].instLayers[0].sound = 2;

                instruments[1].instLayers[0].level = 90;
                instruments[1].instLayers[0].pan = 50;
                instruments[1].instLayers[0].decay = 90;

                instruments[1].instLayers[0].reverb = 00;
                instruments[1].instLayers[0].effects = 0;
                instruments[1].instLayers[0].eq = 0;

                instruments[1].instLayers[0].semitone = 0;
                instruments[1].instLayers[0].finetune = 0;
                instruments[1].instLayers[0].filter = 99;
                instruments[1].instLayers[0].filtertype = 0;

                instruments[1].instLayers[0].velDecay = 0;
                instruments[1].instLayers[0].velFilter = 0;
                instruments[1].instLayers[0].velLevel = 90;
                instruments[1].instLayers[0].velPitch = 00;

                instruments[1].instLayers[0].output = 0;
                instruments[1].instLayers[0].priority = 1;
                instruments[1].instLayers[0].muteGroup = 0;
                instruments[1].instLayers[0].monoPlayback = 0;

                instruments[1].midi.channel = 10;
                instruments[1].midi.note = 35;
                instruments[1].midi.gateTime = 0;
                instruments[1].midi.sendNoteOff = 1;
                instruments[1].midi.chordMode = 0;
                #endregion

                #region SnareHead
                instruments[2].instLayers[0].category = 1;
                instruments[2].instLayers[0].sound = 0;

                instruments[2].instLayers[0].level = 90;
                instruments[2].instLayers[0].pan = 50;
                instruments[2].instLayers[0].decay = 90;

                instruments[2].instLayers[0].reverb = 00;
                instruments[2].instLayers[0].effects = 0;
                instruments[2].instLayers[0].eq = 0;

                instruments[2].instLayers[0].semitone = 0;
                instruments[2].instLayers[0].finetune = 0;
                instruments[2].instLayers[0].filter = 99;
                instruments[2].instLayers[0].filtertype = 0;

                instruments[2].instLayers[0].velDecay = 0;
                instruments[2].instLayers[0].velFilter = 0;
                instruments[2].instLayers[0].velLevel = 90;
                instruments[2].instLayers[0].velPitch = 00;

                instruments[2].instLayers[0].output = 0;
                instruments[2].instLayers[0].priority = 1;
                instruments[2].instLayers[0].muteGroup = 0;
                instruments[2].instLayers[0].monoPlayback = 0;

                instruments[2].midi.channel = 10;
                instruments[2].midi.note = 38;
                instruments[2].midi.gateTime = 0;
                instruments[2].midi.sendNoteOff = 1;
                instruments[2].midi.chordMode = 0;
                #endregion

                #region SnareRim
                instruments[3].instLayers[0].category = 1;
                instruments[3].instLayers[0].sound = 4;

                instruments[3].instLayers[0].level = 90;
                instruments[3].instLayers[0].pan = 50;
                instruments[3].instLayers[0].decay = 90;

                instruments[3].instLayers[0].reverb = 00;
                instruments[3].instLayers[0].effects = 0;
                instruments[3].instLayers[0].eq = 0;

                instruments[3].instLayers[0].semitone = 0;
                instruments[3].instLayers[0].finetune = 0;
                instruments[3].instLayers[0].filter = 99;
                instruments[3].instLayers[0].filtertype = 0;

                instruments[3].instLayers[0].velDecay = 0;
                instruments[3].instLayers[0].velFilter = 0;
                instruments[3].instLayers[0].velLevel = 90;
                instruments[3].instLayers[0].velPitch = 00;

                instruments[3].instLayers[0].output = 0;
                instruments[3].instLayers[0].priority = 1;
                instruments[3].instLayers[0].muteGroup = 0;
                instruments[3].instLayers[0].monoPlayback = 0;

                instruments[3].midi.channel = 10;
                instruments[3].midi.note = 40;
                instruments[3].midi.gateTime = 0;
                instruments[3].midi.sendNoteOff = 1;
                instruments[3].midi.chordMode = 0;
                #endregion

                #region Tom1Head
                instruments[4].instLayers[0].category = 2;
                instruments[4].instLayers[0].sound = 5;

                instruments[4].instLayers[0].level = 90;
                instruments[4].instLayers[0].pan = 50;
                instruments[4].instLayers[0].decay = 90;

                instruments[4].instLayers[0].reverb = 0;
                instruments[4].instLayers[0].effects = 0;
                instruments[4].instLayers[0].eq = 0;

                instruments[4].instLayers[0].semitone = 0;
                instruments[4].instLayers[0].finetune = 0;
                instruments[4].instLayers[0].filter = 99;
                instruments[4].instLayers[0].filtertype = 0;

                instruments[4].instLayers[0].velDecay = 0;
                instruments[4].instLayers[0].velFilter = 0;
                instruments[4].instLayers[0].velLevel = 90;
                instruments[4].instLayers[0].velPitch = 00;

                instruments[4].instLayers[0].output = 0;
                instruments[4].instLayers[0].priority = 1;
                instruments[4].instLayers[0].muteGroup = 0;
                instruments[4].instLayers[0].monoPlayback = 0;

                instruments[4].midi.channel = 10;
                instruments[4].midi.note = 47;
                instruments[4].midi.gateTime = 0;
                instruments[4].midi.sendNoteOff = 1;
                instruments[4].midi.chordMode = 0;
                #endregion

                #region Tom1Rim
                instruments[5].instLayers[0].category = 2;
                instruments[5].instLayers[0].sound = 4;

                instruments[5].instLayers[0].level = 90;
                instruments[5].instLayers[0].pan = 50;
                instruments[5].instLayers[0].decay = 90;

                instruments[5].instLayers[0].reverb = 0;
                instruments[5].instLayers[0].effects = 0;
                instruments[5].instLayers[0].eq = 0;

                instruments[5].instLayers[0].semitone = 0;
                instruments[5].instLayers[0].finetune = 0;
                instruments[5].instLayers[0].filter = 99;
                instruments[5].instLayers[0].filtertype = 0;

                instruments[5].instLayers[0].velDecay = 0;
                instruments[5].instLayers[0].velFilter = 0;
                instruments[5].instLayers[0].velLevel = 90;
                instruments[5].instLayers[0].velPitch = 0;

                instruments[5].instLayers[0].output = 0;
                instruments[5].instLayers[0].priority = 1;
                instruments[5].instLayers[0].muteGroup = 0;
                instruments[5].instLayers[0].monoPlayback = 0;

                instruments[5].midi.channel = 10;
                instruments[5].midi.note = 50;
                instruments[5].midi.gateTime = 0;
                instruments[5].midi.sendNoteOff = 1;
                instruments[5].midi.chordMode = 0;
                #endregion

                #region Tom2Head
                instruments[6].instLayers[0].category = 2;
                instruments[6].instLayers[0].sound = 7;

                instruments[6].instLayers[0].level = 90;
                instruments[6].instLayers[0].pan = 50;
                instruments[6].instLayers[0].decay = 90;

                instruments[6].instLayers[0].reverb = 0;
                instruments[6].instLayers[0].effects = 0;
                instruments[6].instLayers[0].eq = 0;

                instruments[6].instLayers[0].semitone = 0;
                instruments[6].instLayers[0].finetune = 0;
                instruments[6].instLayers[0].filter = 99;
                instruments[6].instLayers[0].filtertype = 0;

                instruments[6].instLayers[0].velDecay = 0;
                instruments[6].instLayers[0].velFilter = 0;
                instruments[6].instLayers[0].velLevel = 90;
                instruments[6].instLayers[0].velPitch = 0;

                instruments[6].instLayers[0].output = 0;
                instruments[6].instLayers[0].priority = 1;
                instruments[6].instLayers[0].muteGroup = 0;
                instruments[6].instLayers[0].monoPlayback = 0;

                instruments[6].midi.channel = 10;
                instruments[6].midi.note = 45;
                instruments[6].midi.gateTime = 0;
                instruments[6].midi.sendNoteOff = 1;
                instruments[6].midi.chordMode = 0;
                #endregion

                #region Tom2Rim
                instruments[7].instLayers[0].category = 2;
                instruments[7].instLayers[0].sound = 6;

                instruments[7].instLayers[0].level = 90;
                instruments[7].instLayers[0].pan = 50;
                instruments[7].instLayers[0].decay = 90;

                instruments[7].instLayers[0].reverb = 0;
                instruments[7].instLayers[0].effects = 0;
                instruments[7].instLayers[0].eq = 0;

                instruments[7].instLayers[0].semitone = 0;
                instruments[7].instLayers[0].finetune = 0;
                instruments[7].instLayers[0].filter = 99;
                instruments[7].instLayers[0].filtertype = 0;

                instruments[7].instLayers[0].velDecay = 0;
                instruments[7].instLayers[0].velFilter = 0;
                instruments[7].instLayers[0].velLevel = 90;
                instruments[7].instLayers[0].velPitch = 00;

                instruments[7].instLayers[0].output = 0;
                instruments[7].instLayers[0].priority = 1;
                instruments[7].instLayers[0].muteGroup = 0;
                instruments[7].instLayers[0].monoPlayback = 0;

                instruments[7].midi.channel = 10;
                instruments[7].midi.note = 48;
                instruments[7].midi.gateTime = 0;
                instruments[7].midi.sendNoteOff = 1;
                instruments[7].midi.chordMode = 0;
                #endregion

                #region Tom3Head
                instruments[8].instLayers[0].category = 2;
                instruments[8].instLayers[0].sound = 9;

                instruments[8].instLayers[0].level = 90;
                instruments[8].instLayers[0].pan = 50;
                instruments[8].instLayers[0].decay = 90;

                instruments[8].instLayers[0].reverb = 0;
                instruments[8].instLayers[0].effects = 0;
                instruments[8].instLayers[0].eq = 0;

                instruments[8].instLayers[0].semitone = 0;
                instruments[8].instLayers[0].finetune = 0;
                instruments[8].instLayers[0].filter = 99;
                instruments[8].instLayers[0].filtertype = 0;

                instruments[8].instLayers[0].velDecay = 0;
                instruments[8].instLayers[0].velFilter = 0;
                instruments[8].instLayers[0].velLevel = 90;
                instruments[8].instLayers[0].velPitch = 00;

                instruments[8].instLayers[0].output = 0;
                instruments[8].instLayers[0].priority = 1;
                instruments[8].instLayers[0].muteGroup = 0;
                instruments[8].instLayers[0].monoPlayback = 0;

                instruments[8].midi.channel = 10;
                instruments[8].midi.note = 43;
                instruments[8].midi.gateTime = 0;
                instruments[8].midi.sendNoteOff = 1;
                instruments[8].midi.chordMode = 0;
                #endregion

                #region Tom3Rim
                instruments[9].instLayers[0].category = 2;
                instruments[9].instLayers[0].sound = 8;

                instruments[9].instLayers[0].level = 90;
                instruments[9].instLayers[0].pan = 50;
                instruments[9].instLayers[0].decay = 90;

                instruments[9].instLayers[0].reverb = 0;
                instruments[9].instLayers[0].effects = 0;
                instruments[9].instLayers[0].eq = 0;

                instruments[9].instLayers[0].semitone = 0;
                instruments[9].instLayers[0].finetune = 0;
                instruments[9].instLayers[0].filter = 99;
                instruments[9].instLayers[0].filtertype = 0;

                instruments[9].instLayers[0].velDecay = 0;
                instruments[9].instLayers[0].velFilter = 0;
                instruments[9].instLayers[0].velLevel = 90;
                instruments[9].instLayers[0].velPitch = 00;

                instruments[9].instLayers[0].output = 0;
                instruments[9].instLayers[0].priority = 1;
                instruments[9].instLayers[0].muteGroup = 0;
                instruments[9].instLayers[0].monoPlayback = 0;

                instruments[9].midi.channel = 10;
                instruments[9].midi.note = 41;
                instruments[9].midi.gateTime = 0;
                instruments[9].midi.sendNoteOff = 1;
                instruments[9].midi.chordMode = 0;
                #endregion

                #region HiHat
                instruments[10].instLayers[0].category = 3;
                instruments[10].instLayers[0].sound = 0;

                instruments[10].instLayers[0].level = 80;
                instruments[10].instLayers[0].pan = 50;
                instruments[10].instLayers[0].decay = 90;

                instruments[10].instLayers[0].reverb = 0;
                instruments[10].instLayers[0].effects = 0;
                instruments[10].instLayers[0].eq = 0;

                instruments[10].instLayers[0].semitone = 0;
                instruments[10].instLayers[0].finetune = 0;
                instruments[10].instLayers[0].filter = 99;
                instruments[10].instLayers[0].filtertype = 0;

                instruments[10].instLayers[0].velDecay = 0;
                instruments[10].instLayers[0].velFilter = 00;
                instruments[10].instLayers[0].velLevel = 90;
                instruments[10].instLayers[0].velPitch = 00;

                instruments[10].instLayers[0].output = 0;
                instruments[10].instLayers[0].priority = 1;
                instruments[10].instLayers[0].muteGroup = 0;
                instruments[10].instLayers[0].monoPlayback = 0;

                instruments[10].midi.channel = 10;
                instruments[10].midi.note = 46;
                instruments[10].midi.gateTime = 0;
                instruments[10].midi.sendNoteOff = 1;
                instruments[10].midi.chordMode = 0;
                #endregion

                #region Crash
                instruments[11].instLayers[0].category = 4;
                instruments[11].instLayers[0].sound = 4;

                instruments[11].instLayers[0].level = 90;
                instruments[11].instLayers[0].pan = 50;
                instruments[11].instLayers[0].decay = 90;

                instruments[11].instLayers[0].reverb = 0;
                instruments[11].instLayers[0].effects = 0;
                instruments[11].instLayers[0].eq = 0;

                instruments[11].instLayers[0].semitone = 0;
                instruments[11].instLayers[0].finetune = 0;
                instruments[11].instLayers[0].filter = 99;
                instruments[11].instLayers[0].filtertype = 0;

                instruments[11].instLayers[0].velDecay = 0;
                instruments[11].instLayers[0].velFilter = 00;
                instruments[11].instLayers[0].velLevel = 99;
                instruments[11].instLayers[0].velPitch = 0;

                instruments[11].instLayers[0].output = 0;
                instruments[11].instLayers[0].priority = 1;
                instruments[11].instLayers[0].muteGroup = 0;
                instruments[11].instLayers[0].monoPlayback = 0;

                instruments[11].midi.channel = 10;
                instruments[11].midi.note = 49;
                instruments[11].midi.gateTime = 0;
                instruments[11].midi.sendNoteOff = 1;
                instruments[11].midi.chordMode = 0;
                #endregion

                #region Ride
                instruments[12].instLayers[0].category = 5;
                instruments[12].instLayers[0].sound = 0;

                instruments[12].instLayers[0].level = 90;
                instruments[12].instLayers[0].pan = 50;
                instruments[12].instLayers[0].decay = 90;

                instruments[12].instLayers[0].reverb = 0;
                instruments[12].instLayers[0].effects = 0;
                instruments[12].instLayers[0].eq = 0;

                instruments[12].instLayers[0].semitone = 0;
                instruments[12].instLayers[0].finetune = 0;
                instruments[12].instLayers[0].filter = 99;
                instruments[12].instLayers[0].filtertype = 0;

                instruments[12].instLayers[0].velDecay = 0;
                instruments[12].instLayers[0].velFilter = 0;
                instruments[12].instLayers[0].velLevel = 99;
                instruments[12].instLayers[0].velPitch = 00;

                instruments[12].instLayers[0].output = 0;
                instruments[12].instLayers[0].priority = 1;
                instruments[12].instLayers[0].muteGroup = 0;
                instruments[12].instLayers[0].monoPlayback = 0;

                instruments[12].midi.channel = 10;
                instruments[12].midi.note = 51;
                instruments[12].midi.gateTime = 0;
                instruments[12].midi.sendNoteOff = 1;
                instruments[12].midi.chordMode = 0;
                #endregion

                #region Perc1Head
                instruments[13].instLayers[0].category = 6;
                instruments[13].instLayers[0].sound = 0;

                instruments[13].instLayers[0].level = 90;
                instruments[13].instLayers[0].pan = 50;
                instruments[13].instLayers[0].decay = 90;

                instruments[13].instLayers[0].reverb = 0;
                instruments[13].instLayers[0].effects = 0;
                instruments[13].instLayers[0].eq = 0;

                instruments[13].instLayers[0].semitone = 0;
                instruments[13].instLayers[0].finetune = 0;
                instruments[13].instLayers[0].filter = 99;
                instruments[13].instLayers[0].filtertype = 0;

                instruments[13].instLayers[0].velDecay = 0;
                instruments[13].instLayers[0].velFilter = 00;
                instruments[13].instLayers[0].velLevel = 99;
                instruments[13].instLayers[0].velPitch = 00;

                instruments[13].instLayers[0].output = 0;
                instruments[13].instLayers[0].priority = 1;
                instruments[13].instLayers[0].muteGroup = 0;
                instruments[13].instLayers[0].monoPlayback = 0;

                instruments[13].midi.channel = 10;
                instruments[13].midi.note = 59;
                instruments[13].midi.gateTime = 0;
                instruments[13].midi.sendNoteOff = 1;
                instruments[13].midi.chordMode = 0;
                #endregion

                #region Perc1Rim
                instruments[14].instLayers[0].category = 6;
                instruments[14].instLayers[0].sound = 0;

                instruments[14].instLayers[0].level = 90;
                instruments[14].instLayers[0].pan = 50;
                instruments[14].instLayers[0].decay = 90;

                instruments[14].instLayers[0].reverb = 0;
                instruments[14].instLayers[0].effects = 0;
                instruments[14].instLayers[0].eq = 0;

                instruments[14].instLayers[0].semitone = 0;
                instruments[14].instLayers[0].finetune = 0;
                instruments[14].instLayers[0].filter = 99;
                instruments[14].instLayers[0].filtertype = 0;

                instruments[14].instLayers[0].velDecay = 0;
                instruments[14].instLayers[0].velFilter = 00;
                instruments[14].instLayers[0].velLevel = 99;
                instruments[14].instLayers[0].velPitch = 00;

                instruments[14].instLayers[0].output = 0;
                instruments[14].instLayers[0].priority = 1;
                instruments[14].instLayers[0].muteGroup = 0;
                instruments[14].instLayers[0].monoPlayback = 0;

                instruments[14].midi.channel = 10;
                instruments[14].midi.note = 33;
                instruments[14].midi.gateTime = 0;
                instruments[14].midi.sendNoteOff = 1;
                instruments[14].midi.chordMode = 0;
                #endregion

                #region Perc2Head
                instruments[15].instLayers[0].category = 6;
                instruments[15].instLayers[0].sound = 0;

                instruments[15].instLayers[0].level = 90;
                instruments[15].instLayers[0].pan = 50;
                instruments[15].instLayers[0].decay = 90;

                instruments[15].instLayers[0].reverb = 0;
                instruments[15].instLayers[0].effects = 0;
                instruments[15].instLayers[0].eq = 0;

                instruments[15].instLayers[0].semitone = 0;
                instruments[15].instLayers[0].finetune = 0;
                instruments[15].instLayers[0].filter = 90;
                instruments[15].instLayers[0].filtertype = 0;

                instruments[15].instLayers[0].velDecay = 0;
                instruments[15].instLayers[0].velFilter = 0;
                instruments[15].instLayers[0].velLevel = 99;
                instruments[15].instLayers[0].velPitch = 0;

                instruments[15].instLayers[0].output = 0;
                instruments[15].instLayers[0].priority = 1;
                instruments[15].instLayers[0].muteGroup = 0;
                instruments[15].instLayers[0].monoPlayback = 0;

                instruments[15].midi.channel = 10;
                instruments[15].midi.note = 60;
                instruments[15].midi.gateTime = 0;
                instruments[15].midi.sendNoteOff = 1;
                instruments[15].midi.chordMode = 0;
                #endregion

                #region Perc2Rim
                instruments[16].instLayers[0].category = 6;
                instruments[16].instLayers[0].sound = 0;

                instruments[16].instLayers[0].level = 90;
                instruments[16].instLayers[0].pan = 50;
                instruments[16].instLayers[0].decay = 90;

                instruments[16].instLayers[0].reverb = 0;
                instruments[16].instLayers[0].effects = 0;
                instruments[16].instLayers[0].eq = 0;

                instruments[16].instLayers[0].semitone = 0;
                instruments[16].instLayers[0].finetune = 0;
                instruments[16].instLayers[0].filter = 99;
                instruments[16].instLayers[0].filtertype = 0;

                instruments[16].instLayers[0].velDecay = 00;
                instruments[16].instLayers[0].velFilter = 00;
                instruments[16].instLayers[0].velLevel = 99;
                instruments[16].instLayers[0].velPitch = 00;

                instruments[16].instLayers[0].output = 0;
                instruments[16].instLayers[0].priority = 1;
                instruments[16].instLayers[0].muteGroup = 0;
                instruments[16].instLayers[0].monoPlayback = 0;

                instruments[16].midi.channel = 10;
                instruments[16].midi.note = 61;
                instruments[16].midi.gateTime = 0;
                instruments[16].midi.sendNoteOff = 1;
                instruments[16].midi.chordMode = 0;
                #endregion

                #region Perc3Head
                instruments[17].instLayers[0].category = 6;
                instruments[17].instLayers[0].sound = 0;

                instruments[17].instLayers[0].level = 90;
                instruments[17].instLayers[0].pan = 50;
                instruments[17].instLayers[0].decay = 90;

                instruments[17].instLayers[0].reverb = 0;
                instruments[17].instLayers[0].effects = 0;
                instruments[17].instLayers[0].eq = 0;

                instruments[17].instLayers[0].semitone = 0;
                instruments[17].instLayers[0].finetune = 0;
                instruments[17].instLayers[0].filter = 99;
                instruments[17].instLayers[0].filtertype = 0;

                instruments[17].instLayers[0].velDecay = 00;
                instruments[17].instLayers[0].velFilter = 00;
                instruments[17].instLayers[0].velLevel = 99;
                instruments[17].instLayers[0].velPitch = 0;

                instruments[17].instLayers[0].output = 0;
                instruments[17].instLayers[0].priority = 1;
                instruments[17].instLayers[0].muteGroup = 0;
                instruments[17].instLayers[0].monoPlayback = 0;

                instruments[17].midi.channel = 10;
                instruments[17].midi.note = 63;
                instruments[17].midi.gateTime = 0;
                instruments[17].midi.sendNoteOff = 1;
                instruments[17].midi.chordMode = 0;
                #endregion

                #region Perc3Rim
                instruments[18].instLayers[0].category = 6;
                instruments[18].instLayers[0].sound = 0;

                instruments[18].instLayers[0].level = 90;
                instruments[18].instLayers[0].pan = 50;
                instruments[18].instLayers[0].decay = 90;

                instruments[18].instLayers[0].reverb = 0;
                instruments[18].instLayers[0].effects = 0;
                instruments[18].instLayers[0].eq = 0;

                instruments[18].instLayers[0].semitone = 0;
                instruments[18].instLayers[0].finetune = 0;
                instruments[18].instLayers[0].filter = 99;
                instruments[18].instLayers[0].filtertype = 0;

                instruments[18].instLayers[0].velDecay = 00;
                instruments[18].instLayers[0].velFilter = 00;
                instruments[18].instLayers[0].velLevel = 99;
                instruments[18].instLayers[0].velPitch = 00;

                instruments[18].instLayers[0].output = 0;
                instruments[18].instLayers[0].priority = 1;
                instruments[18].instLayers[0].muteGroup = 0;
                instruments[18].instLayers[0].monoPlayback = 0;

                instruments[18].midi.channel = 10;
                instruments[18].midi.note = 64;
                instruments[18].midi.gateTime = 0;
                instruments[18].midi.sendNoteOff = 1;
                instruments[18].midi.chordMode = 0;
                #endregion

                #region Perc4Head
                instruments[19].instLayers[0].category = 6;
                instruments[19].instLayers[0].sound = 0;

                instruments[19].instLayers[0].level = 90;
                instruments[19].instLayers[0].pan = 50;
                instruments[19].instLayers[0].decay = 90;

                instruments[19].instLayers[0].reverb = 0;
                instruments[19].instLayers[0].effects = 0;
                instruments[19].instLayers[0].eq = 0;

                instruments[19].instLayers[0].semitone = 0;
                instruments[19].instLayers[0].finetune = 0;
                instruments[19].instLayers[0].filter = 99;
                instruments[19].instLayers[0].filtertype = 0;

                instruments[19].instLayers[0].velDecay = 00;
                instruments[19].instLayers[0].velFilter = 00;
                instruments[19].instLayers[0].velLevel = 99;
                instruments[19].instLayers[0].velPitch = 00;

                instruments[19].instLayers[0].output = 0;
                instruments[19].instLayers[0].priority = 1;
                instruments[19].instLayers[0].muteGroup = 0;
                instruments[19].instLayers[0].monoPlayback = 0;

                instruments[19].midi.channel = 10;
                instruments[19].midi.note = 28;
                instruments[19].midi.gateTime = 0;
                instruments[19].midi.sendNoteOff = 1;
                instruments[19].midi.chordMode = 0;
                #endregion

                #region Perc4Rim
                instruments[20].instLayers[0].category = 6;
                instruments[20].instLayers[0].sound = 0;

                instruments[20].instLayers[0].level = 90;
                instruments[20].instLayers[0].pan = 50;
                instruments[20].instLayers[0].decay = 90;

                instruments[20].instLayers[0].reverb = 0;
                instruments[20].instLayers[0].effects = 0;
                instruments[20].instLayers[0].eq = 0;

                instruments[20].instLayers[0].semitone = 0;
                instruments[20].instLayers[0].finetune = 0;
                instruments[20].instLayers[0].filter = 99;
                instruments[20].instLayers[0].filtertype = 0;

                instruments[20].instLayers[0].velDecay = 00;
                instruments[20].instLayers[0].velFilter = 00;
                instruments[20].instLayers[0].velLevel = 99;
                instruments[20].instLayers[0].velPitch = 00;

                instruments[20].instLayers[0].output = 0;
                instruments[20].instLayers[0].priority = 1;
                instruments[20].instLayers[0].muteGroup = 0;
                instruments[20].instLayers[0].monoPlayback = 0;

                instruments[20].midi.channel = 10;
                instruments[20].midi.note = 29;
                instruments[20].midi.gateTime = 0;
                instruments[20].midi.sendNoteOff = 1;
                instruments[20].midi.chordMode = 0;
                #endregion
                #endregion

                #region Layer B
                #region Kick1
                instruments[0].instLayers[1].category = 6;
                instruments[0].instLayers[1].sound = 0;

                instruments[0].instLayers[1].level = 0;
                instruments[0].instLayers[1].pan = 50;
                instruments[0].instLayers[1].decay = 90;

                instruments[0].instLayers[1].reverb = 00;
                instruments[0].instLayers[1].effects = 0;
                instruments[0].instLayers[1].eq = 0;

                instruments[0].instLayers[1].semitone = 0;
                instruments[0].instLayers[1].finetune = 0;
                instruments[0].instLayers[1].filter = 99;
                instruments[0].instLayers[1].filtertype = 0;

                instruments[0].instLayers[1].velDecay = 0;
                instruments[0].instLayers[1].velFilter = 0;
                instruments[0].instLayers[1].velLevel = 90;
                instruments[0].instLayers[1].velPitch = 00;

                instruments[0].instLayers[1].output = 0;
                instruments[0].instLayers[1].priority = 1;
                instruments[0].instLayers[1].muteGroup = 0;
                instruments[0].instLayers[1].monoPlayback = 0;

                instruments[0].midi.channel = 10;
                instruments[0].midi.note = 36;
                instruments[0].midi.gateTime = 0;
                instruments[0].midi.sendNoteOff = 1;
                instruments[0].midi.chordMode = 0;
                #endregion

                #region Kick2
                instruments[1].instLayers[1].category = 6;
                instruments[1].instLayers[1].sound = 0;

                instruments[1].instLayers[1].level = 0;
                instruments[1].instLayers[1].pan = 50;
                instruments[1].instLayers[1].decay = 90;

                instruments[1].instLayers[1].reverb = 00;
                instruments[1].instLayers[1].effects = 0;
                instruments[1].instLayers[1].eq = 0;

                instruments[1].instLayers[1].semitone = 0;
                instruments[1].instLayers[1].finetune = 0;
                instruments[1].instLayers[1].filter = 99;
                instruments[1].instLayers[1].filtertype = 0;

                instruments[1].instLayers[1].velDecay = 0;
                instruments[1].instLayers[1].velFilter = 0;
                instruments[1].instLayers[1].velLevel = 90;
                instruments[1].instLayers[1].velPitch = 00;

                instruments[1].instLayers[1].output = 0;
                instruments[1].instLayers[1].priority = 1;
                instruments[1].instLayers[1].muteGroup = 0;
                instruments[1].instLayers[1].monoPlayback = 0;

                instruments[1].midi.channel = 10;
                instruments[1].midi.note = 35;
                instruments[1].midi.gateTime = 0;
                instruments[1].midi.sendNoteOff = 1;
                instruments[1].midi.chordMode = 0;
                #endregion

                #region SnareHead
                instruments[2].instLayers[1].category = 6;
                instruments[2].instLayers[1].sound = 0;

                instruments[2].instLayers[1].level = 0;
                instruments[2].instLayers[1].pan = 50;
                instruments[2].instLayers[1].decay = 90;

                instruments[2].instLayers[1].reverb = 00;
                instruments[2].instLayers[1].effects = 0;
                instruments[2].instLayers[1].eq = 0;

                instruments[2].instLayers[1].semitone = 0;
                instruments[2].instLayers[1].finetune = 0;
                instruments[2].instLayers[1].filter = 99;
                instruments[2].instLayers[1].filtertype = 0;

                instruments[2].instLayers[1].velDecay = 0;
                instruments[2].instLayers[1].velFilter = 0;
                instruments[2].instLayers[1].velLevel = 90;
                instruments[2].instLayers[1].velPitch = 00;

                instruments[2].instLayers[1].output = 0;
                instruments[2].instLayers[1].priority = 1;
                instruments[2].instLayers[1].muteGroup = 0;
                instruments[2].instLayers[1].monoPlayback = 0;

                instruments[2].midi.channel = 10;
                instruments[2].midi.note = 38;
                instruments[2].midi.gateTime = 0;
                instruments[2].midi.sendNoteOff = 1;
                instruments[2].midi.chordMode = 0;
                #endregion

                #region SnareRim
                instruments[3].instLayers[1].category = 6;
                instruments[3].instLayers[1].sound = 0;

                instruments[3].instLayers[1].level = 0;
                instruments[3].instLayers[1].pan = 50;
                instruments[3].instLayers[1].decay = 90;

                instruments[3].instLayers[1].reverb = 00;
                instruments[3].instLayers[1].effects = 0;
                instruments[3].instLayers[1].eq = 0;

                instruments[3].instLayers[1].semitone = 0;
                instruments[3].instLayers[1].finetune = 0;
                instruments[3].instLayers[1].filter = 99;
                instruments[3].instLayers[1].filtertype = 0;

                instruments[3].instLayers[1].velDecay = 0;
                instruments[3].instLayers[1].velFilter = 0;
                instruments[3].instLayers[1].velLevel = 90;
                instruments[3].instLayers[1].velPitch = 00;

                instruments[3].instLayers[1].output = 0;
                instruments[3].instLayers[1].priority = 1;
                instruments[3].instLayers[1].muteGroup = 0;
                instruments[3].instLayers[1].monoPlayback = 0;

                instruments[3].midi.channel = 10;
                instruments[3].midi.note = 40;
                instruments[3].midi.gateTime = 0;
                instruments[3].midi.sendNoteOff = 1;
                instruments[3].midi.chordMode = 0;
                #endregion

                #region Tom1Head
                instruments[4].instLayers[1].category = 6;
                instruments[4].instLayers[1].sound = 0;

                instruments[4].instLayers[1].level = 0;
                instruments[4].instLayers[1].pan = 50;
                instruments[4].instLayers[1].decay = 90;

                instruments[4].instLayers[1].reverb = 0;
                instruments[4].instLayers[1].effects = 0;
                instruments[4].instLayers[1].eq = 0;

                instruments[4].instLayers[1].semitone = 0;
                instruments[4].instLayers[1].finetune = 0;
                instruments[4].instLayers[1].filter = 99;
                instruments[4].instLayers[1].filtertype = 0;

                instruments[4].instLayers[1].velDecay = 0;
                instruments[4].instLayers[1].velFilter = 0;
                instruments[4].instLayers[1].velLevel = 90;
                instruments[4].instLayers[1].velPitch = 00;

                instruments[4].instLayers[1].output = 0;
                instruments[4].instLayers[1].priority = 1;
                instruments[4].instLayers[1].muteGroup = 0;
                instruments[4].instLayers[1].monoPlayback = 0;

                instruments[4].midi.channel = 10;
                instruments[4].midi.note = 47;
                instruments[4].midi.gateTime = 0;
                instruments[4].midi.sendNoteOff = 1;
                instruments[4].midi.chordMode = 0;
                #endregion

                #region Tom1Rim
                instruments[5].instLayers[1].category = 6;
                instruments[5].instLayers[1].sound = 0;

                instruments[5].instLayers[1].level = 0;
                instruments[5].instLayers[1].pan = 50;
                instruments[5].instLayers[1].decay = 90;

                instruments[5].instLayers[1].reverb = 0;
                instruments[5].instLayers[1].effects = 0;
                instruments[5].instLayers[1].eq = 0;

                instruments[5].instLayers[1].semitone = 0;
                instruments[5].instLayers[1].finetune = 0;
                instruments[5].instLayers[1].filter = 99;
                instruments[5].instLayers[1].filtertype = 0;

                instruments[5].instLayers[1].velDecay = 0;
                instruments[5].instLayers[1].velFilter = 0;
                instruments[5].instLayers[1].velLevel = 90;
                instruments[5].instLayers[1].velPitch = 0;

                instruments[5].instLayers[1].output = 0;
                instruments[5].instLayers[1].priority = 1;
                instruments[5].instLayers[1].muteGroup = 0;
                instruments[5].instLayers[1].monoPlayback = 0;

                instruments[5].midi.channel = 10;
                instruments[5].midi.note = 50;
                instruments[5].midi.gateTime = 0;
                instruments[5].midi.sendNoteOff = 1;
                instruments[5].midi.chordMode = 0;
                #endregion

                #region Tom2Head
                instruments[6].instLayers[1].category = 6;
                instruments[6].instLayers[1].sound = 0;

                instruments[6].instLayers[1].level = 0;
                instruments[6].instLayers[1].pan = 50;
                instruments[6].instLayers[1].decay = 90;

                instruments[6].instLayers[1].reverb = 0;
                instruments[6].instLayers[1].effects = 0;
                instruments[6].instLayers[1].eq = 0;

                instruments[6].instLayers[1].semitone = 0;
                instruments[6].instLayers[1].finetune = 0;
                instruments[6].instLayers[1].filter = 99;
                instruments[6].instLayers[1].filtertype = 0;

                instruments[6].instLayers[1].velDecay = 0;
                instruments[6].instLayers[1].velFilter = 0;
                instruments[6].instLayers[1].velLevel = 90;
                instruments[6].instLayers[1].velPitch = 0;

                instruments[6].instLayers[1].output = 0;
                instruments[6].instLayers[1].priority = 1;
                instruments[6].instLayers[1].muteGroup = 0;
                instruments[6].instLayers[1].monoPlayback = 0;

                instruments[6].midi.channel = 10;
                instruments[6].midi.note = 45;
                instruments[6].midi.gateTime = 0;
                instruments[6].midi.sendNoteOff = 1;
                instruments[6].midi.chordMode = 0;
                #endregion

                #region Tom2Rim
                instruments[7].instLayers[1].category = 6;
                instruments[7].instLayers[1].sound = 0;

                instruments[7].instLayers[1].level = 0;
                instruments[7].instLayers[1].pan = 50;
                instruments[7].instLayers[1].decay = 90;

                instruments[7].instLayers[1].reverb = 0;
                instruments[7].instLayers[1].effects = 0;
                instruments[7].instLayers[1].eq = 0;

                instruments[7].instLayers[1].semitone = 0;
                instruments[7].instLayers[1].finetune = 0;
                instruments[7].instLayers[1].filter = 99;
                instruments[7].instLayers[1].filtertype = 0;

                instruments[7].instLayers[1].velDecay = 0;
                instruments[7].instLayers[1].velFilter = 0;
                instruments[7].instLayers[1].velLevel = 90;
                instruments[7].instLayers[1].velPitch = 00;

                instruments[7].instLayers[1].output = 0;
                instruments[7].instLayers[1].priority = 1;
                instruments[7].instLayers[1].muteGroup = 0;
                instruments[7].instLayers[1].monoPlayback = 0;

                instruments[7].midi.channel = 10;
                instruments[7].midi.note = 48;
                instruments[7].midi.gateTime = 0;
                instruments[7].midi.sendNoteOff = 1;
                instruments[7].midi.chordMode = 0;
                #endregion

                #region Tom3Head
                instruments[8].instLayers[1].category = 6;
                instruments[8].instLayers[1].sound = 0;

                instruments[8].instLayers[1].level = 0;
                instruments[8].instLayers[1].pan = 50;
                instruments[8].instLayers[1].decay = 90;

                instruments[8].instLayers[1].reverb = 0;
                instruments[8].instLayers[1].effects = 0;
                instruments[8].instLayers[1].eq = 0;

                instruments[8].instLayers[1].semitone = 0;
                instruments[8].instLayers[1].finetune = 0;
                instruments[8].instLayers[1].filter = 99;
                instruments[8].instLayers[1].filtertype = 0;

                instruments[8].instLayers[1].velDecay = 0;
                instruments[8].instLayers[1].velFilter = 0;
                instruments[8].instLayers[1].velLevel = 90;
                instruments[8].instLayers[1].velPitch = 00;

                instruments[8].instLayers[1].output = 0;
                instruments[8].instLayers[1].priority = 1;
                instruments[8].instLayers[1].muteGroup = 0;
                instruments[8].instLayers[1].monoPlayback = 0;

                instruments[8].midi.channel = 10;
                instruments[8].midi.note = 43;
                instruments[8].midi.gateTime = 0;
                instruments[8].midi.sendNoteOff = 1;
                instruments[8].midi.chordMode = 0;
                #endregion

                #region Tom3Rim
                instruments[9].instLayers[1].category = 6;
                instruments[9].instLayers[1].sound = 0;

                instruments[9].instLayers[1].level = 0;
                instruments[9].instLayers[1].pan = 50;
                instruments[9].instLayers[1].decay = 90;

                instruments[9].instLayers[1].reverb = 0;
                instruments[9].instLayers[1].effects = 0;
                instruments[9].instLayers[1].eq = 0;

                instruments[9].instLayers[1].semitone = 0;
                instruments[9].instLayers[1].finetune = 0;
                instruments[9].instLayers[1].filter = 99;
                instruments[9].instLayers[1].filtertype = 0;

                instruments[9].instLayers[1].velDecay = 0;
                instruments[9].instLayers[1].velFilter = 0;
                instruments[9].instLayers[1].velLevel = 90;
                instruments[9].instLayers[1].velPitch = 00;

                instruments[9].instLayers[1].output = 0;
                instruments[9].instLayers[1].priority = 1;
                instruments[9].instLayers[1].muteGroup = 0;
                instruments[9].instLayers[1].monoPlayback = 0;

                instruments[9].midi.channel = 10;
                instruments[9].midi.note = 41;
                instruments[9].midi.gateTime = 0;
                instruments[9].midi.sendNoteOff = 1;
                instruments[9].midi.chordMode = 0;
                #endregion

                #region HiHat
                instruments[10].instLayers[1].category = 6;
                instruments[10].instLayers[1].sound = 0;

                instruments[10].instLayers[1].level = 00;
                instruments[10].instLayers[1].pan = 50;
                instruments[10].instLayers[1].decay = 90;

                instruments[10].instLayers[1].reverb = 0;
                instruments[10].instLayers[1].effects = 0;
                instruments[10].instLayers[1].eq = 0;

                instruments[10].instLayers[1].semitone = 0;
                instruments[10].instLayers[1].finetune = 0;
                instruments[10].instLayers[1].filter = 99;
                instruments[10].instLayers[1].filtertype = 0;

                instruments[10].instLayers[1].velDecay = 0;
                instruments[10].instLayers[1].velFilter = 00;
                instruments[10].instLayers[1].velLevel = 90;
                instruments[10].instLayers[1].velPitch = 00;

                instruments[10].instLayers[1].output = 0;
                instruments[10].instLayers[1].priority = 1;
                instruments[10].instLayers[1].muteGroup = 0;
                instruments[10].instLayers[1].monoPlayback = 0;

                instruments[10].midi.channel = 10;
                instruments[10].midi.note = 46;
                instruments[10].midi.gateTime = 0;
                instruments[10].midi.sendNoteOff = 1;
                instruments[10].midi.chordMode = 0;
                #endregion

                #region Crash
                instruments[11].instLayers[1].category = 6;
                instruments[11].instLayers[1].sound = 0;

                instruments[11].instLayers[1].level = 0;
                instruments[11].instLayers[1].pan = 50;
                instruments[11].instLayers[1].decay = 90;

                instruments[11].instLayers[1].reverb = 0;
                instruments[11].instLayers[1].effects = 0;
                instruments[11].instLayers[1].eq = 0;

                instruments[11].instLayers[1].semitone = 0;
                instruments[11].instLayers[1].finetune = 0;
                instruments[11].instLayers[1].filter = 99;
                instruments[11].instLayers[1].filtertype = 0;

                instruments[11].instLayers[1].velDecay = 0;
                instruments[11].instLayers[1].velFilter = 00;
                instruments[11].instLayers[1].velLevel = 99;
                instruments[11].instLayers[1].velPitch = 0;

                instruments[11].instLayers[1].output = 0;
                instruments[11].instLayers[1].priority = 1;
                instruments[11].instLayers[1].muteGroup = 0;
                instruments[11].instLayers[1].monoPlayback = 0;

                instruments[11].midi.channel = 10;
                instruments[11].midi.note = 49;
                instruments[11].midi.gateTime = 0;
                instruments[11].midi.sendNoteOff = 1;
                instruments[11].midi.chordMode = 0;
                #endregion

                #region Ride
                instruments[12].instLayers[1].category = 6;
                instruments[12].instLayers[1].sound = 0;

                instruments[12].instLayers[1].level = 0;
                instruments[12].instLayers[1].pan = 50;
                instruments[12].instLayers[1].decay = 90;

                instruments[12].instLayers[1].reverb = 0;
                instruments[12].instLayers[1].effects = 0;
                instruments[12].instLayers[1].eq = 0;

                instruments[12].instLayers[1].semitone = 0;
                instruments[12].instLayers[1].finetune = 0;
                instruments[12].instLayers[1].filter = 99;
                instruments[12].instLayers[1].filtertype = 0;

                instruments[12].instLayers[1].velDecay = 0;
                instruments[12].instLayers[1].velFilter = 0;
                instruments[12].instLayers[1].velLevel = 99;
                instruments[12].instLayers[1].velPitch = 00;

                instruments[12].instLayers[1].output = 0;
                instruments[12].instLayers[1].priority = 1;
                instruments[12].instLayers[1].muteGroup = 0;
                instruments[12].instLayers[1].monoPlayback = 0;

                instruments[12].midi.channel = 10;
                instruments[12].midi.note = 51;
                instruments[12].midi.gateTime = 0;
                instruments[12].midi.sendNoteOff = 1;
                instruments[12].midi.chordMode = 0;
                #endregion

                #region Perc1Head
                instruments[13].instLayers[1].category = 6;
                instruments[13].instLayers[1].sound = 0;

                instruments[13].instLayers[1].level = 00;
                instruments[13].instLayers[1].pan = 50;
                instruments[13].instLayers[1].decay = 90;

                instruments[13].instLayers[1].reverb = 0;
                instruments[13].instLayers[1].effects = 0;
                instruments[13].instLayers[1].eq = 0;

                instruments[13].instLayers[1].semitone = 0;
                instruments[13].instLayers[1].finetune = 0;
                instruments[13].instLayers[1].filter = 99;
                instruments[13].instLayers[1].filtertype = 0;

                instruments[13].instLayers[1].velDecay = 0;
                instruments[13].instLayers[1].velFilter = 00;
                instruments[13].instLayers[1].velLevel = 99;
                instruments[13].instLayers[1].velPitch = 00;

                instruments[13].instLayers[1].output = 0;
                instruments[13].instLayers[1].priority = 1;
                instruments[13].instLayers[1].muteGroup = 0;
                instruments[13].instLayers[1].monoPlayback = 0;

                instruments[13].midi.channel = 10;
                instruments[13].midi.note = 59;
                instruments[13].midi.gateTime = 0;
                instruments[13].midi.sendNoteOff = 1;
                instruments[13].midi.chordMode = 0;
                #endregion

                #region Perc1Rim
                instruments[14].instLayers[1].category = 6;
                instruments[14].instLayers[1].sound = 0;

                instruments[14].instLayers[1].level = 0;
                instruments[14].instLayers[1].pan = 50;
                instruments[14].instLayers[1].decay = 90;

                instruments[14].instLayers[1].reverb = 0;
                instruments[14].instLayers[1].effects = 0;
                instruments[14].instLayers[1].eq = 0;

                instruments[14].instLayers[1].semitone = 0;
                instruments[14].instLayers[1].finetune = 0;
                instruments[14].instLayers[1].filter = 99;
                instruments[14].instLayers[1].filtertype = 0;

                instruments[14].instLayers[1].velDecay = 0;
                instruments[14].instLayers[1].velFilter = 00;
                instruments[14].instLayers[1].velLevel = 99;
                instruments[14].instLayers[1].velPitch = 00;

                instruments[14].instLayers[1].output = 0;
                instruments[14].instLayers[1].priority = 1;
                instruments[14].instLayers[1].muteGroup = 0;
                instruments[14].instLayers[1].monoPlayback = 0;

                instruments[14].midi.channel = 10;
                instruments[14].midi.note = 33;
                instruments[14].midi.gateTime = 0;
                instruments[14].midi.sendNoteOff = 1;
                instruments[14].midi.chordMode = 0;
                #endregion

                #region Perc2Head
                instruments[15].instLayers[1].category = 6;
                instruments[15].instLayers[1].sound = 0;

                instruments[15].instLayers[1].level = 0;
                instruments[15].instLayers[1].pan = 50;
                instruments[15].instLayers[1].decay = 90;

                instruments[15].instLayers[1].reverb = 0;
                instruments[15].instLayers[1].effects = 0;
                instruments[15].instLayers[1].eq = 0;

                instruments[15].instLayers[1].semitone = 0;
                instruments[15].instLayers[1].finetune = 0;
                instruments[15].instLayers[1].filter = 90;
                instruments[15].instLayers[1].filtertype = 0;

                instruments[15].instLayers[1].velDecay = 0;
                instruments[15].instLayers[1].velFilter = 0;
                instruments[15].instLayers[1].velLevel = 99;
                instruments[15].instLayers[1].velPitch = 0;

                instruments[15].instLayers[1].output = 0;
                instruments[15].instLayers[1].priority = 1;
                instruments[15].instLayers[1].muteGroup = 0;
                instruments[15].instLayers[1].monoPlayback = 0;

                instruments[15].midi.channel = 10;
                instruments[15].midi.note = 60;
                instruments[15].midi.gateTime = 0;
                instruments[15].midi.sendNoteOff = 1;
                instruments[15].midi.chordMode = 0;
                #endregion

                #region Perc2Rim
                instruments[16].instLayers[1].category = 6;
                instruments[16].instLayers[1].sound = 0;

                instruments[16].instLayers[1].level = 0;
                instruments[16].instLayers[1].pan = 50;
                instruments[16].instLayers[1].decay = 90;

                instruments[16].instLayers[1].reverb = 0;
                instruments[16].instLayers[1].effects = 0;
                instruments[16].instLayers[1].eq = 0;

                instruments[16].instLayers[1].semitone = 0;
                instruments[16].instLayers[1].finetune = 0;
                instruments[16].instLayers[1].filter = 99;
                instruments[16].instLayers[1].filtertype = 0;

                instruments[16].instLayers[1].velDecay = 00;
                instruments[16].instLayers[1].velFilter = 00;
                instruments[16].instLayers[1].velLevel = 99;
                instruments[16].instLayers[1].velPitch = 00;

                instruments[16].instLayers[1].output = 0;
                instruments[16].instLayers[1].priority = 1;
                instruments[16].instLayers[1].muteGroup = 0;
                instruments[16].instLayers[1].monoPlayback = 0;

                instruments[16].midi.channel = 10;
                instruments[16].midi.note = 61;
                instruments[16].midi.gateTime = 0;
                instruments[16].midi.sendNoteOff = 1;
                instruments[16].midi.chordMode = 0;
                #endregion

                #region Perc3Head
                instruments[17].instLayers[1].category = 6;
                instruments[17].instLayers[1].sound = 0;

                instruments[17].instLayers[1].level = 0;
                instruments[17].instLayers[1].pan = 50;
                instruments[17].instLayers[1].decay = 90;

                instruments[17].instLayers[1].reverb = 0;
                instruments[17].instLayers[1].effects = 0;
                instruments[17].instLayers[1].eq = 0;

                instruments[17].instLayers[1].semitone = 0;
                instruments[17].instLayers[1].finetune = 0;
                instruments[17].instLayers[1].filter = 99;
                instruments[17].instLayers[1].filtertype = 0;

                instruments[17].instLayers[1].velDecay = 00;
                instruments[17].instLayers[1].velFilter = 00;
                instruments[17].instLayers[1].velLevel = 99;
                instruments[17].instLayers[1].velPitch = 0;

                instruments[17].instLayers[1].output = 0;
                instruments[17].instLayers[1].priority = 1;
                instruments[17].instLayers[1].muteGroup = 0;
                instruments[17].instLayers[1].monoPlayback = 0;

                instruments[17].midi.channel = 10;
                instruments[17].midi.note = 63;
                instruments[17].midi.gateTime = 0;
                instruments[17].midi.sendNoteOff = 1;
                instruments[17].midi.chordMode = 0;
                #endregion

                #region Perc3Rim
                instruments[18].instLayers[1].category = 6;
                instruments[18].instLayers[1].sound = 0;

                instruments[18].instLayers[1].level = 0;
                instruments[18].instLayers[1].pan = 50;
                instruments[18].instLayers[1].decay = 90;

                instruments[18].instLayers[1].reverb = 0;
                instruments[18].instLayers[1].effects = 0;
                instruments[18].instLayers[1].eq = 0;

                instruments[18].instLayers[1].semitone = 0;
                instruments[18].instLayers[1].finetune = 0;
                instruments[18].instLayers[1].filter = 99;
                instruments[18].instLayers[1].filtertype = 0;

                instruments[18].instLayers[1].velDecay = 00;
                instruments[18].instLayers[1].velFilter = 00;
                instruments[18].instLayers[1].velLevel = 99;
                instruments[18].instLayers[1].velPitch = 00;

                instruments[18].instLayers[1].output = 0;
                instruments[18].instLayers[1].priority = 1;
                instruments[18].instLayers[1].muteGroup = 0;
                instruments[18].instLayers[1].monoPlayback = 0;

                instruments[18].midi.channel = 10;
                instruments[18].midi.note = 64;
                instruments[18].midi.gateTime = 0;
                instruments[18].midi.sendNoteOff = 1;
                instruments[18].midi.chordMode = 0;
                #endregion

                #region Perc4Head
                instruments[19].instLayers[1].category = 6;
                instruments[19].instLayers[1].sound = 0;

                instruments[19].instLayers[1].level = 0;
                instruments[19].instLayers[1].pan = 50;
                instruments[19].instLayers[1].decay = 90;

                instruments[19].instLayers[1].reverb = 0;
                instruments[19].instLayers[1].effects = 0;
                instruments[19].instLayers[1].eq = 0;

                instruments[19].instLayers[1].semitone = 0;
                instruments[19].instLayers[1].finetune = 0;
                instruments[19].instLayers[1].filter = 99;
                instruments[19].instLayers[1].filtertype = 0;

                instruments[19].instLayers[1].velDecay = 00;
                instruments[19].instLayers[1].velFilter = 00;
                instruments[19].instLayers[1].velLevel = 99;
                instruments[19].instLayers[1].velPitch = 00;

                instruments[19].instLayers[1].output = 0;
                instruments[19].instLayers[1].priority = 1;
                instruments[19].instLayers[1].muteGroup = 0;
                instruments[19].instLayers[1].monoPlayback = 0;

                instruments[19].midi.channel = 10;
                instruments[19].midi.note = 28;
                instruments[19].midi.gateTime = 0;
                instruments[19].midi.sendNoteOff = 1;
                instruments[19].midi.chordMode = 0;
                #endregion

                #region Perc4Rim
                instruments[20].instLayers[1].category = 6;
                instruments[20].instLayers[1].sound = 0;

                instruments[20].instLayers[1].level = 0;
                instruments[20].instLayers[1].pan = 50;
                instruments[20].instLayers[1].decay = 90;

                instruments[20].instLayers[1].reverb = 0;
                instruments[20].instLayers[1].effects = 0;
                instruments[20].instLayers[1].eq = 0;

                instruments[20].instLayers[1].semitone = 0;
                instruments[20].instLayers[1].finetune = 0;
                instruments[20].instLayers[1].filter = 99;
                instruments[20].instLayers[1].filtertype = 0;

                instruments[20].instLayers[1].velDecay = 00;
                instruments[20].instLayers[1].velFilter = 00;
                instruments[20].instLayers[1].velLevel = 99;
                instruments[20].instLayers[1].velPitch = 00;

                instruments[20].instLayers[1].output = 0;
                instruments[20].instLayers[1].priority = 1;
                instruments[20].instLayers[1].muteGroup = 0;
                instruments[20].instLayers[1].monoPlayback = 0;

                instruments[20].midi.channel = 10;
                instruments[20].midi.note = 29;
                instruments[20].midi.gateTime = 0;
                instruments[20].midi.sendNoteOff = 1;
                instruments[20].midi.chordMode = 0;
                #endregion
                #endregion



            }
        }


    }

}